![]() |
IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
|
Partial Least Squares.
PLS according to [1]. This PLS works with one response variable only (which is typically the class - sometimes called PLSDA (PLS Discriminant Analysis)).
[1] Hastie, The elements of Statistical Learning, 2001, Algorithm 3.2, p.68
Definition in file irootlab_pls.m.
Go to the source code of this file.
Functions | |
function | irootlab_pls (in X, in Y, in no_factors) |
Important: X-variables (columns of X) need to be standardized, otherwise the function will give an error. More... | |
function irootlab_pls | ( | in | X, |
in | Y, | ||
in | no_factors | ||
) |
Important: X-variables (columns of X) need to be standardized, otherwise the function will give an error.
X | "Predictor" variables |
Y | "Response" variable. This PLS works with one variable only! |
no_factors | Number of variables to be calculated. |
[loadings]
or [loadings, scores]