marcotcr / lime

Lime: Explaining the predictions of any machine learning classifier
BSD 2-Clause "Simplified" License
11.41k stars 1.79k forks source link

Incoherent explanation on text LIME explainer ? #695

Open nprime496 opened 1 year ago

nprime496 commented 1 year ago

LIME is a great package for explaining model's decisions and worked great until now.

However I just used it to explain my model's prediction on a classic disasters tweet classification task. The results is quite surprising on one instance. In fact, even if LIME tells me that some words really drives models towards a decision, the final probabilities output is quite different.

Is this normal behavior ? expected ? and how to interpret it ?

Screenshot from 2022-09-30 01-41-54