An option for partitioning models (tree, bootstrap, boosted) is to use a tuning design table. The results begin with a table that includes the design points as well as the validation R-squared and the validation RMSE for each design point. I need to have that table also show the training R-squared, training RMSE, test R-squared, and test RMSE. Anyone able to help out here--maybe with a script?
These statistics, and more, are shown below the table for the chosen model, but I need these statistics for all design points. The method to my madness is this: I want to be able to produce a graph showing, say, both validation R2 and training R2 against learning rate to show the amount of overfitting that occurs with increasing learning rate.