How do I find or visualise the top features used for SVM classifier?

4 次查看(过去 30 天)
Hi, I am very new to matlab.
I am using 25 predictors to classify 5 different cell morphology types.
I used the Classification Learner app and the linear SVM to successfully classify to a good accuracy.
However, how would i look at the best features used to classify these morphologies? Especially once the trained model has been saved (i'm not sure if this makes a difference but have learned everything can make a difference with these things!)
I have tried looking at ClassificationECOC and can see there is 'learner weights' in the properties. Is there a way of 'opening' or visualising this?
Thank you in advance

回答(1 个)

Aditya Patil
Aditya Patil 2020-8-17
It's not possible to determine feature importance in SVM model, unless you use linear kernel. You can read more about this in this answer.

类别

Help CenterFile Exchange 中查找有关 Classification 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by