PCA which Features are kept?

21 ビュー (過去 30 日間)
ga56
ga56 2016 年 12 月 19 日
コメント済み: ga56 2016 年 12 月 19 日
I'm struggeling with the Classification Learner App. I just tried the PCA on my features and it says something like this: After training, 3 components were kept. Explained variance per component (in order): 67.7%, 25.5%, 5.0%, 1.2%. How do I know which components are kept?

採用された回答

Brendan Hamm
Brendan Hamm 2016 年 12 月 19 日
PCA is just a transformation of your feature space via centering and rotation such that your components (the resulting basis vectors) are pointing in the direction of greatest variance in descending order. That is component 1 explains the most variance, component 2 the next, and the last explains the least. So this is really just a mapping from an n-dimensional space to an n-dimensional space.
It is common to then choose only a subset of the space to perform your analysis. By default the Classification Learner App will choose enough components to explain at least 95% of the original variance. In your case it seems you had 4 components and more than 95% of the variance in that 4-dimensional space can be explained by a 3-dimensional subspace. However, you should not think of this in terms of the original 4-factors as there is some information present from all of those 4-dimensions (excepting in the special case of multi-collinearity).
  1 件のコメント
ga56
ga56 2016 年 12 月 19 日
thank you very much :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDimensionality Reduction and Feature Extraction についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by