after apply pca on a matrix,does any way exist to understand each column refers to which column in initial matrix? ?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
Antworten (1)
nick
am 11 Okt. 2024
Bearbeitet: nick
am 11 Okt. 2024
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' :
0 Kommentare
Siehe auch
Kategorien
Mehr zu Dimensionality Reduction and Feature Extraction finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!