TeamHG-Memex / eli5

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

explain_prediction support for decision trees and ensemble #11

Closed kmike closed 7 years ago

kmike commented 8 years ago

See https://github.com/andosa/treeinterpreter

lopuhin commented 7 years ago

Maybe desicion_path from sklearn 0.18 can help here: http://scikit-learn.org/stable/modules/generated/sklearn.tree.ExtraTreeClassifier.html#sklearn.tree.ExtraTreeClassifier.decision_path

kmike commented 7 years ago

Yeah, it can help for decision trees.

More approaches:

lopuhin commented 7 years ago

Related to #117. Thanks for the links, the code from the first paper looks especially interesting!

kmike commented 7 years ago

I'm closing it as fixed by https://github.com/TeamHG-Memex/eli5/pull/122 and https://github.com/TeamHG-Memex/eli5/pull/117. We can investigate additional methods separately.