Is there a 'DeltaPredictor' (output in linear discriminant analysis) equivalent in other classification algorithms (SVM and KNN)?
4 views (last 30 days)
Show older comments
So, with the fitcdiscr classification algorithm, you get an output called 'DeltaPredictor', which indicates predictor importance. Is there an equivalent in the other classification algorithms? Specifically, fitcsvm and fitcknn. If an alternative doesn't exist, how do you calculate the 'DeltaPredictor'? I have tried using other feature selection algorithms (fsrftest and fscmrmr), however, they don't seem to agree with the DeltaPredictor.
Any help will be highly appreciated.
I am not sure if I have given enough information, so if you feel like I haven't, please let me know.
Thank you
0 Comments
Accepted Answer
Aditya Patil
on 14 Jul 2020
Sometimes due to the nature of the underlying model itself, it might not be possible to determine feature importance. For those models where it is possible, this is an known issue, and might be implemented in any future release.
Nevertheless, you can still analyze the feature importance for your classification problem (not specific to SVM) by doing some dimensional reduction or feature extraction.
0 Comments
More Answers (0)
See Also
Categories
Find more on Statistics and Machine Learning Toolbox 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!