Sparse Canonical Correlation Analysis. Computation of CC via NIPALS with soft thresholding.
toscca.folds(
A,
B,
nonzero_a,
nonzero_b,
alpha_init,
folds = 1,
parallel_logic = FALSE,
silent = FALSE,
toPlot = TRUE,
ATest_res = NULL,
BTest_res = NULL
)a list with the following elements:
Data matrices.
Numeric. Scalar or vector over the number of nonzeroes allowed for a correlation estimate.
Character. Type initialisation for $$\mathbf{\alpha}$$. Default is "eigen".
Integer. Indicates number of folds to perform.
Logical. TRUE to parallelise folds. Default is FALSE.
Logical. TRUE to keep silent output messages. Default is FALSE.
Logical. TRUE to plot results.
NULL. Keep NULL.
NULL. Keep NULL.