Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Cross-decomposition (PLS, CCA)

solow-cross-decomposition provides partial least squares in three flavours and canonical correlation via the NIPALS solver.

Estimators

EstimatorWhat it does
PLSRegressionPredictive PLS: finds latent components that maximise covariance between X and Y. Used for regression with correlated predictors and multi-output targets.
PLSCanonicalSymmetric PLS with mode-A deflation, giving equally-scaled X and Y projections.
PLSSVDDirect SVD of the cross-covariance matrix.
CCACanonical correlation analysis via NIPALS with mode-B deflation.

Example

#![allow(unused)]
fn main() {
use solow_cross_decomposition::PLSRegression;

let pls = PLSRegression::new(2).fit(&x, &y)?;
let y_pred = pls.predict(&x_test)?;
Ok::<_, solow_core::Error>(())
}

References

  • Wold, H. (1966). Estimation of principal components and related models by iterative least squares. In Multivariate Analysis.
  • Rosipal, R., & Krämer, N. (2006). Overview and recent advances in partial least squares. SLSFS.