How to obtain cross validation results while developing model by using plsregress?
3 次查看(过去 30 天)
显示 更早的评论
I am using the following code to develop a 10-fold cross-validated (CV) partial least squares regression model.
[XL,yl,XS,YS,beta,PCTVAR,stat, MSE] = plsregress(x,y,3,'CV',10);
By default, Matlab gives only the final estimated parameters. I want to see the parameter distribution and fitting efficiency while doing the cross-validation. Without writing the CV code manually, how can I see these results?
Thanks
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!