New variables after computing Principal Components Analysis

After computing principal components analysis, what will represent my new variables to be used to build my model , is it the scores?
Thank You

 採用された回答

the cyclist
the cyclist 2021 年 7 月 5 日

0 投票

Yes, the output score is the observed values of the variables in the principal coordinate axes.
I wrote a detailed answer to this question that is a tutorial on how to use MATLAB's pca() function. You might find it helpful.

2 件のコメント

NCA
NCA 2021 年 7 月 5 日
Thanks a lot for taking the time out to respond and answer my question, I really appreciate. Am I right to only use the first few columns of my scores as shown by 'explained' ( example 80% explained variance) or do I need to use score multiplied by coeff (score*coeff) to build my model?
Thank You
the cyclist
the cyclist 2021 年 7 月 5 日
You want to use score, not score*coeff.
score is equivalent to X*coeff; it's the original observations transformed to the PC coordinates.

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

その他の回答 (1 件)

Image Analyst
Image Analyst 2021 年 7 月 5 日

0 投票

Attached is a demo where I get the PCs of an RGB true color image, plus another demo.

カテゴリ

ヘルプ センター および File ExchangeDimensionality Reduction and Feature Extraction についてさらに検索

質問済み:

NCA
2021 年 7 月 5 日

コメント済み:

2021 年 7 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by