Cannonical Correlation Analysis

≡放荡痞女 提交于 2019-12-06 00:02:55

As I understand it, with X and Y being your original data matrices, A and B are the sets of coefficients that perform a change of basis to maximally correlate your original data. Your data is represented in the new bases as the matrices U and V.

So to answer your questions:

  1. The projection matrices you are looking for would be A and B since they transform X and Y into the new space.

  2. The resulting projections of X and Y into the new space would be U and V, respectively. (The r vector represents the entries of the correlation matrix between U and V, which is a diagonal matrix.)

The The MATLAB documentation says this transformation can be done with the following formulae, where N is the number of observations:

U = (X-repmat(mean(X),N,1))*A
V = (Y-repmat(mean(Y),N,1))*B

This page lays out the process nicely so you can see what each coefficient means in the transformation process.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!