Partial least squares regression

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

回答 (1 件)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2023 年 12 月 9 日

0 投票

Write your command:
[XL, YL, Xs, Ys, Beta, PLSsep] =plsregress(X, y, N, 'CV', F, 'MCReps',100) ; % Note: 'mcreps' vs. 'MCReps'

質問済み:

2023 年 12 月 8 日

回答済み:

2023 年 12 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by