pca icon indicating copy to clipboard operation
pca copied to clipboard

Reference to the feature names in getExplainedVariance

Open CBaptiste opened this issue 4 years ago • 1 comments

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!

CBaptiste avatar Oct 08 '20 17:10 CBaptiste

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

targos avatar Oct 09 '20 18:10 targos