Partial least squares regression

조회 수: 12 (최근 30일)
Alexandra
Alexandra 2023년 12월 8일
답변: Sulaymon Eshkabilov 2023년 12월 9일
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일
Write your command:
[XL, YL, Xs, Ys, Beta, PLSsep] =plsregress(X, y, N, 'CV', F, 'MCReps',100) ; % Note: 'mcreps' vs. 'MCReps'

Community Treasure Hunt

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

Start Hunting!

Translated by