Is there a 'DeltaPredictor' (output in linear discriminant analysis) equivalent in other classification algorithms (SVM and KNN)?

2 views (last 30 days)
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

Accepted Answer

Aditya Patil
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.

More Answers (0)

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!