Matlab Pls Toolbox
Beyond standard PLS, it includes Principal Component Analysis (PCA) , PLS Discriminant Analysis (PLS-DA) , and Support Vector Machines (SVM) .
analysis_launch; % Interactive GUI used for initial exploration % Export to script: pls_model = pls(X_snv_sg, Y_octane, 4, 'crossval', 'venetian'); validation_result = predict(pls_model, X_valid); figure; plot(Y_valid, validation_result.pred1, 'ro'); refline(1,0); xlabel('Reference Octane'); ylabel('Predicted Octane'); matlab pls toolbox
Thirdly, the toolbox excels in . Through methods like PLS-Discriminant Analysis (PLS-DA) and Support Vector Machines (SVM), users can categorize samples based on their spectral fingerprints. This is vital in fields like pharmaceutical quality control, where one must determine if a sample is genuine or counterfeit, or in food science, to authenticate the origin of olive oil or wine. This is vital in fields like pharmaceutical quality
% Evaluate the model VIP = vip(PLSmodel); plot(VIP) : Principal Components Regression (PCR)
Scientists use the PLS Toolbox to solve problems that seem impossible with standard statistics:
A low RMSEC with high RMSECV indicates overfitting. Check both (systematic variation) and Q residuals (unmodeled noise) for outliers.
: Principal Components Regression (PCR), Multiple Linear Regression (MLR), and Classical Least Squares (CLS).