TeamHG-Memex / eli5

A library for debugging/inspecting machine learning classifiers and explaining their predictions
http://eli5.readthedocs.io
MIT License
2.75k stars 331 forks source link

Bug related to the explanation of a classification #311

Open RuiJardim opened 5 years ago

RuiJardim commented 5 years ago

There may be bugs related to the explanation of a binary classification for the GradientBoostingClassifier algorithm of scikit learn. I say this because there are very obvious features that are almost 100% sure to help with the decision, taking into account the distributions of values of both classes (positive and negative), and which are incredibly contributing negatively to the decision. Can you check?

lopuhin commented 5 years ago

Thanks for the report @RuiJardim , could you please provide some details? E.g. some code you run, what you got and what you expected? For example it's not obvious if you are talking about explain_prediction or explain_weights.

RuiJardim commented 5 years ago

I'm referring to the 'explain_prediction' method for explaining a given binary classification. Some verified issues: