SPLSHyperparameters
VariantSparse Partial Least Squares. See `setup_SPLS`.
Properties
kinteger | object≥ 1Number of latent components. Cannot exceed the number of features in the training data.
etanumber | object≥ 0< 1Sparsity threshold: higher values select fewer features.
kappanumber | object≥ 0≤ 0.5Concavity of the surrogate direction vector problem. Used with a multivariate coded outcome, i.e. multiclass classification.
selectstringFeature selection algorithm (regression only).
one of
"pls2""simpls"fitstringPLS algorithm used for model fitting (regression only).
one of
"kernelpls""widekernelpls""simpls""oscorespls"classifierstringClassifier fit on the latent components (classification only).
one of
"lda""logistic"scale_xbooleanScale features to unit variance.
scale_ybooleanScale the outcome to unit variance (regression only).
epsnumber> 0Convergence tolerance (regression only).
maxstepinteger≥ 1Maximum number of iterations per component (regression only).
ifwboolean | objectInverse Frequency Weighting in classification.
Relationships
Used by