bnaras / PMA

4 stars 3 forks source link

How to obtain weights and loadings after running CCA? #3

Open JohannesWiesner opened 3 years ago

JohannesWiesner commented 3 years ago

Reading this paper, I stumpled upon the PMA package. I would like to obtain weights and loadings after running CCA (just like sklearn.cross_decomposition.CCA, is it possible to do that with your package?

qingma commented 1 year ago

Reading this paper, I stumpled upon the PMA package. I would like to obtain weights and loadings after running CCA (just like sklearn.cross_decomposition.CCA, is it possible to do that with your package?

Have you solved this problem? I have also the same question as you. If you get some answers, can you share them?

Moemenhussein11 commented 5 months ago

The weights are the u, and v vectors. you can find them at the output of the CCA function. You have to calculate the loadings yourself (I do not why, they can easily make it available!).