How to do canonical correlation analysis with regularization using matlab?
Ältere Kommentare anzeigen
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!
Antworten (0)
Kategorien
Mehr zu Timing and presenting 2D and 3D stimuli finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!