Partial least squares regression
2 ビュー (過去 30 日間)
古いコメントを表示
I am trying to select the number of components for my PLS model. I can't seem to select 100 mcreps, does anyone know how to fix this?
This is the code and error i get![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1563919/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1563919/image.png)
0 件のコメント
回答 (1 件)
Sulaymon Eshkabilov
2023 年 12 月 9 日
Write your command:
[XL, YL, Xs, Ys, Beta, PLSsep] =plsregress(X, y, N, 'CV', F, 'MCReps',100) ; % Note: 'mcreps' vs. 'MCReps'
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!