7
$\begingroup$

In case of scikit-learn's models, we can get feature importance using the relevant attributes of the model.
I've been working on a RNN, using LSTMs for text embedding. Is there any way to get feature importance of various features from the finalized model?

$\endgroup$
5
$\begingroup$

There is plenty of methods to calculate feature importance. I recommend trying two of them LIME and SHAP.

I don't want to copy-paste material and tutorial provided by the author so please refer to these two repositories.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.