How to do canonical correlation analysis with regularization using matlab?
显示 更早的评论
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!
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Timing and presenting 2D and 3D stimuli 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!