How to do PCA in Matlab?
Ältere Kommentare anzeigen
I have a dataset matrix that have 41 columns, and more than 20000 Rows
I filled the missing data and did a normalization
Now, I want to do Princple Component Analysis (PCA)
How to do that using code?
Name of my table = Table_NormalizedData
Here is a screenshot of my matrix table:

Antworten (1)
Bora Eryilmaz
am 16 Dez. 2022
Bearbeitet: Bora Eryilmaz
am 16 Dez. 2022
You can use the pca command from the Statistics and Machine Learning Toolbox: https://www.mathworks.com/help/stats/pca.html.
T = array2table(rand(20000,41))
coeff = pca(T{:,:})
Kategorien
Mehr zu Dimensionality Reduction and Feature Extraction finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!