Assessing performance with cross-validation
- for each part in turn:
use the remaining K−1 parts as training data to define the interpolation
use that part as testing data to predict
compute the RMSE by comparing the testing and predicted data in each of the K parts
RMSE=√∑ntesti=1(yi,test−ˆyi,test)2ntest
- average the RMSE values obtained in each of the K parts