interpretml / interpret-text

A library that incorporates state-of-the-art explainers for text-based machine learning models and visualizes the result with a built-in dashboard.
MIT License
413 stars 68 forks source link

Dashboard is not displayed #142

Closed KristianHolsheimer closed 4 years ago

KristianHolsheimer commented 4 years ago

I'm running the notebook:

https://github.com/interpretml/interpret-text/blob/master/notebooks/text_classification/text_classification_unified_information_explainer.ipynb

And I'm expecting to see a pretty dashboard at the end, but all I see is:

image

I tried some suggestions from this post on StackOverflow, but it doesn't help.

Any idea how I might fix this?

KristianHolsheimer commented 4 years ago

I found the issue. I installed the package from pypi, i.e. pip install interpret-text as per the documentation.

As it turns out, I also needed to enable the jupyter extension:

$ jupyter nbextension enable interpret_text.experimental.widget --py