search for: plscv

Displaying 1 result from an estimated 1 matches for "plscv".

Did you mean: lscv
2005 May 12
1
pls -- crossval vs plsr(..., CV=TRUE)
...r my model. I was running into a few problems so I played with the example a little and the results do not match up with the comments in the help pages. $ library(pls) $ data(NIR) $ testing.plsNOCV <- plsr(y ~ X, 6, data = NIR, method="kernelpls", validation="none") $ NIR.plsCV <- plsr(y ~ X, 6, data = NIR, CV=TRUE, method="kernelpls") $ testing.plsCV <- crossval(testing.plsNOCV) $ R2(NIR.plsCV) (Intercept) 1 comps 2 comps 3 comps 4 comps 5 comps 0.0000 0.9812 0.9825 0.9964 0.9997 0.9999 6...