Question: How to obtain loading eigenvalues from CPCA?
0
gravatar for Arko
7 months ago by
Arko30
US/Boston/Boston University
Arko30 wrote:

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?

cpca contrastive python • 218 views
ADD COMMENTlink written 7 months ago by Arko30
1

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 REPLYlink written 7 months ago by Jean-Karim Heriche21k

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 REPLYlink written 7 months ago by Arko30
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 748 users visited in the last hour