How can I restrict the number of features for testing set in SVM classification with linear kernel?
1 回表示 (過去 30 日間)
古いコメントを表示
I have trained a dataset with linear SVM with 300 features. However, I want to restrict the number of features to 150. How can I find which features are most critical to classification?
0 件のコメント
回答 (1 件)
Aditya Patil
2021 年 2 月 17 日
Generally, you can't determine feature importance in SVM, unless a linear kernel is used. Refer following answer for more information. It's recommended to use feature extraction or dimensionality reduction techniques instead of SVM. https://se.mathworks.com/matlabcentral/answers/406577-how-can-i-determine-feature-importance-of-an-svm-classifier
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Statistics and Machine Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!