L1-penalized SCCA with hyperparameter choice via k-fold cross-validation
1 | L1_CCA_CV(X, Y, lambda_X, lambda_Y, n_folds = 5)
|
The considered search space is effectively one-dimensional by considering penalty pairs (lambda_X[1], lambda_Y[1]), (lambda_X[2], lambda_Y[2]), etc. The number of cross-validation folds can be specified.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.