TeamHG-Memex / eli5

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

Error: estimator is not supported #376

Closed myounus96 closed 4 years ago

myounus96 commented 4 years ago

Got Error: estimator is not supported . Using tensorflow.keras python=3.7.4 tensorflow=2.1.0 eli5=0.10.1

teabolt commented 4 years ago

Hi. Unfortunately tensorflow.keras is currently not supported. As in https://github.com/TeamHG-Memex/eli5/blob/017c738f8dcf3e31346de49a390835ffafad3f1b/eli5/keras/explain_prediction.py#L8 only keras models are supported. For now one solution is to convert a tensorflow.keras model into a keras model.

shivammavihs commented 2 years ago

@teabolt are you aware of any alternative to eli5 which supports keras and does the job?