Clear Filters
Clear Filters

Partial least squares regression

2 views (last 30 days)
Alexandra
Alexandra on 8 Dec 2023
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

Answers (1)

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

Categories

Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!