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.

Antworten (2)

Cris LaPierre
Cris LaPierre am 20 Mär. 2021
Bearbeitet: Cris LaPierre am 20 Mär. 2021

0 Stimmen

You may find this video from our Data Processing and Feature Engineering course on Coursera (and perhaps the entire course) helpful.
Image Analyst
Image Analyst am 20 Mär. 2021

0 Stimmen

The simplest way might be to use PCA. A demo is attached (for a completely different situation though).

5 Kommentare

Serra Aksoy
Serra Aksoy am 28 Mär. 2021
Thanks for your answer, but I have a question regarding to applying PCA.
I am trying to perform principal component analysis using pca() function.
When I execute the PCA command, I am returned a matrix coeff of size 5000*299.
As far as I know coeff should be square matrix.
How can i solve this problem to reduce the number of columns?
Image Analyst
Image Analyst am 28 Mär. 2021
You need to have more observations than variables (features) otherwise it can't figure out what the coefficients should be.
Serra Aksoy
Serra Aksoy am 28 Mär. 2021
Bearbeitet: Serra Aksoy am 28 Mär. 2021
In this case, it seems i can not use the pca().
Is there any other methods that you can suggest to me for dimension reduction when the number of samples are less than the number of features?
Image Analyst
Image Analyst am 29 Mär. 2021
Maybe stepwise regression?
Serra Aksoy
Serra Aksoy am 29 Mär. 2021
Thank you, I'll try to apply it.

Melden Sie sich an, um zu kommentieren.

Kategorien

Gefragt:

am 20 Mär. 2021

Kommentiert:

am 29 Mär. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by