Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference to the feature names in getExplainedVariance #25

Open
CBaptiste opened this issue Oct 8, 2020 · 1 comment
Open

Reference to the feature names in getExplainedVariance #25

CBaptiste opened this issue Oct 8, 2020 · 1 comment

Comments

@CBaptiste
Copy link

Hello,

When using new PCA(dataset[]), regardless the order of my observations, (for instance dataset = [[1, 2], [100, 2000]] or dataset = [[2, 1], [2000,100]], the method getExplainedVariance always seems to returnthe same array of values. if there a way to know the reference of the column/feature the score refers to ?

Thank you!

@targos
Copy link
Member

targos commented Oct 9, 2020

The explained variance is related to the principal components, not the original features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants