pca
pca copied to clipboard
Reference to the feature names in getExplainedVariance
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!
The explained variance is related to the principal components, not the original features.