New variables after computing Principal Components Analysis
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
NCA
el 5 de Jul. de 2021
Comentada: the cyclist
el 5 de Jul. de 2021
After computing principal components analysis, what will represent my new variables to be used to build my model , is it the scores?
Thank You
0 comentarios
Respuesta aceptada
the cyclist
el 5 de Jul. de 2021
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 comentarios
the cyclist
el 5 de Jul. de 2021
You want to use score, not score*coeff.
score is equivalent to X*coeff; it's the original observations transformed to the PC coordinates.
Más respuestas (1)
Image Analyst
el 5 de Jul. de 2021
Attached is a demo where I get the PCs of an RGB true color image, plus another demo.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/674628/image.png)
0 comentarios
Ver también
Categorías
Más información sobre Dimensionality Reduction and Feature Extraction en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!