How to get the least MSE results after cross validation in PLS?

2 ビュー (過去 30 日間)
gsourop
gsourop 2019 年 9 月 27 日
Hi everyone,
I am running a PLS regression and try to select the parameters with lowest MSE, after cross validating, in order to produce a forecasts. Is there any way to retrieve this vector of parameters?
a = randn(100,5); a = zscore(a);
b = randn(100,1); b = zscore(b);
[XL,yl,XS,YS,beta,pctVar,mse,stats] = plsregress(a,b,5,'CV',10);
forecast = [1 a(end,:)]*beta;
But I am not quite sure if these parameters are the optimal.

回答 (0 件)

カテゴリ

Help Center および File ExchangeGaussian Process Regression についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by