Partial least squares regression
Show older comments
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
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 Box Plots 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!