CanonicalCorrelationAnalysis validation ledger#
Status: validated; paired-view implementation of Hotelling CCA.
Authority: Hotelling (1936), DOI 10.1093/biomet/28.3-4.321.
Preprocessing: center each aligned view independently. Thin SVDs define the exact numerical covariance supports; no implicit ridge is added.
Solver: singular values of
Qx^T Qyare canonical correlations. Weights map those singular vectors back throughV diag(sqrt(n-1)/s), giving canonical scores with sample covariance identity.API:
fit(X,Y),transform(X)for the first view, andtransform(X,Y)orfit_transform(X,Y)for paired scores. Row counts must agree.Evidence: unit within-view score covariance, diagonal cross-view covariance, rank-deficient support, paired-shape validation, and feature-permutation tests. Canonical subspaces are the comparison object for repeated correlations.
Complexity:
O(n(p+q)^2 + (p+q)^3)time andO(n(p+q) + (p+q)^2)peak memory; symbols follow the method catalog. Rdimtools is not an oracle.