How to do canonical correlation analysis with regularization using matlab?
Mostra commenti meno recenti
Hi, there,
I need to do CCA(canonical correlation analysis) with regularization between X (n*d1 matrix) and Y (n*d2 matrix). (X and Y is not full rank.)
The regularization is defined as following, with a relatively small lambda:
- regularized S_xx = S_xx + lambda*eye(d1)
- regularized S_yy = S_yy + lambda*eye(d2)
I was trying to use the built-in function canoncorr, but it seemed that this function does not support this feature. I read through the code but didn't find anywhere to do the edit as the built-in function used QR decomposition.
I need this as a golden version to compare with my own. Does anybody know how to solve this problem using Matlab? Thanks!
Risposte (0)
Categorie
Scopri di più su Timing and presenting 2D and 3D stimuli in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!