The app also lets the user choose the data partition (in a limited range) with the “Training partition” slider; this will set how much of the data will be used for training.
The training takes place using a plain simple linear model. With a k-fold cross-validation training control system.
The app also lets the user choose how many (in a range 2 to 5) folds does he/she want to perform cross-validation with; that’s what the last input is for.
Please note that above all this, a preliminary analysis on the relevance of the 5 predictors has been made, and it turned out all predictors were somewhat relevant.
FINAL REMARK: this is NOT (nor it claims to be) a good exercise on machine learning. It was just something to recall a few concepts with, while experimenting a little with the tools of this course.