How to obtain loading eigenvalues from CPCA?
0
0
Entering edit mode
4.8 years ago
Arko ▴ 30

I'm experimenting with CPCA made available in the contrastive module in python.

Description found here - https://www.nature.com/articles/s41467-018-04608-8#Bib1 GitHub and Description here - https://github.com/abidlabs/contrastive

I'm trying to obtain the eigenvalues (loadings) for the CPCA run, but it seems to give only the eigenvectors (projections) only.

Does anyone have the faintest idea on how to do this?

contrastive CPCA python • 849 views
ADD COMMENT
1
Entering edit mode

A brief look at the code shows that they are discarded, so you'll have to modify the source code (check method cpca_alpha).

ADD REPLY
0
Entering edit mode

I was hoping it wouldn't come to that, altering source code always ends up breaking it. At least in my case. Thanks though!

ADD REPLY

Login before adding your answer.

Traffic: 2004 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6