
sPLS per component
Hyperparameter selection (outer CV)
Final fit
Utilities
The toolbox makes it easy to avoid overfitting: matlab pls toolbox
model = pls(x, y, 10, 'cv', 'venetian', 'blind', 6);
plotcv(model);
You’ll see RMSECV vs. latent variables, automatically suggesting the optimal number of LVs.
No software is without shortcomings. Critics of the PLS Toolbox point to: sPLS per component
| Pros | Cons | |------|------| | Industry-standard, validated algorithms | Requires MATLAB base license | | Excellent documentation & support | Expensive for individual academics | | GUI + command-line flexibility | Overkill if you only need simple PLS | | Active development (new methods like Deep Learning for spectroscopy) | Steep initial learning curve |