Reducing the number of features
Show older comments
Hello everyone.
I have 300 samples and each sample has 5000 features, so my matrix has 300 rows and 5000 columns.
I need to reduce the number of columns with using best features.
How can i determine the best features? What are the options that i can try to do this for getting successful classification accuracy rate?
Thanks in advance.
Answers (2)
Cris LaPierre
on 20 Mar 2021
Edited: Cris LaPierre
on 20 Mar 2021
0 votes
You may find this video from our Data Processing and Feature Engineering course on Coursera (and perhaps the entire course) helpful.
Image Analyst
on 20 Mar 2021
0 votes
The simplest way might be to use PCA. A demo is attached (for a completely different situation though).
5 Comments
Serra Aksoy
on 28 Mar 2021
Image Analyst
on 28 Mar 2021
You need to have more observations than variables (features) otherwise it can't figure out what the coefficients should be.
Serra Aksoy
on 28 Mar 2021
Edited: Serra Aksoy
on 28 Mar 2021
Image Analyst
on 29 Mar 2021
Maybe stepwise regression?
Serra Aksoy
on 29 Mar 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!