Robuta

https://www.mathworks.com/help/stats/classreg.learning.partition.regressionpartitionedmodel.kfoldloss.html kfoldLoss - Loss for cross-validated partitioned regression model - MATLAB This MATLAB function returns the loss (mean squared error) obtained by the cross-validated regression model CVMdl. cross validatedpartitioned regressionlossmodelmatlab