Principal Component Analysis PCA

3 views (last 30 days)
Alsadegh Mohamed
Alsadegh Mohamed on 7 Apr 2018
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
Image Analyst
Image Analyst on 7 Apr 2018
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.

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 1 Jun 2021

Categories

Find more on Dimensionality Reduction and Feature Extraction in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!