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.

回答 (2 件)

Cris LaPierre
Cris LaPierre 2021 年 3 月 20 日
編集済み: Cris LaPierre 2021 年 3 月 20 日

0 投票

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 2021 年 3 月 20 日

0 投票

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

5 件のコメント

Serra Aksoy
Serra Aksoy 2021 年 3 月 28 日
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 2021 年 3 月 28 日
You need to have more observations than variables (features) otherwise it can't figure out what the coefficients should be.
Serra Aksoy
Serra Aksoy 2021 年 3 月 28 日
編集済み: Serra Aksoy 2021 年 3 月 28 日
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 2021 年 3 月 29 日
Maybe stepwise regression?
Serra Aksoy
Serra Aksoy 2021 年 3 月 29 日
Thank you, I'll try to apply it.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File Exchange で Dimensionality Reduction and Feature Extraction についてさらに検索

質問済み:

2021 年 3 月 20 日

コメント済み:

2021 年 3 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by