Predictions, Lasso Regression, Model Averaging, Spline Regression, Crossvalidation.
model with different outcomes, showing the fit of the model and the make-up of the splines. Below, you see different code in which a validation set is included from the outside. You can do the same also for a test set. In general, this is stronger than internal validation. Also note that you still