Principal Component Analysis PCA

I need to use PCA for features selection. Foe example if the number of features = 300 the result by PCA = 15. I used PCA command in matlab but the result complete transformation of the feature (300), but I need only the important features to save the accuracy.

1 Comment

OK good luck. Do you have a question (rather than an announcement)? If so, you forgot to attach your code and code. So do that then please ask your question after reading this: http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer

Sign in to comment.

Answers (2)

KSSV
KSSV on 7 Apr 2018
pca gives you out score of each feature. You sort the scores and pick the first fifteen scores and the respective features.

Categories

Community Treasure Hunt

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

Start Hunting!