after apply pca on a matrix,does any way exist to understand each column refers to which column in initial matrix? ?

3 ビュー (過去 30 日間)
hi i have an initial matrix A (63*9),i want to reduce it to 63*5,so i have used PCA:
[COEFF SCORE LATENT] = princomp(A);
pc=COEFF(:,1:5);
reduced-A=A*pc;
i use 'reduced-A' az my new matrix,is it true? and is there any way to find out each column in 'reduced-A' refer to which column in 'A'? for example the first column in 'reduced-A' come from which column in 'A'?
please help me

回答 (1 件)

nick
nick 2024 年 10 月 11 日
編集済み: nick 2024 年 10 月 11 日
Hi sorena,
I understand that you want to know about the relationship between columns in 'reduced_A' and columns in A. When you apply PCA to a matrix, each column in the reduced matrix is linear combination of orginal columns. You can look at the 'pc' matrix , which contains the eigenvectors of covariance of matrix 'A'.
The elements in each column of 'pc' are weights that describe how much each original variable contributes to the principal componennt. For example, the first column of 'reduced_A' is a combination of all columns in 'A' weighted by the first column of 'pc'.
You can refer to the following documentation to know about the relationship between columns in 'PCA' :

カテゴリ

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