interpret icon indicating copy to clipboard operation
interpret copied to clipboard

How to make noninteractive plots from explain_global?

Open lambdaofgod opened this issue 4 years ago • 3 comments
trafficstars

I run interpret in GCP Jupyter and


ebm_global = ebm.explain_global()
show(ebm_global)

Doesn't show anything. The simplest method to sidestep this would be to call some method that just takes id or feature name and plots what's outputted from selector when selecting it.

Is there a way of doing this?

lambdaofgod avatar Nov 08 '21 08:11 lambdaofgod

Check issue #290 Is this what you're talking about?

apatange-source avatar Nov 10 '21 08:11 apatange-source

Not really. As far as I know plotly figures aren't visible in jupyter notebooks.

lambdaofgod avatar Jan 19 '22 22:01 lambdaofgod

I believe you would need to use the inline provider there, obtained with:

from interpret import set_visualize_provider
from interpret.provider import InlineProvider
set_visualize_provider(InlineProvider())

More on this in the docs: https://interpret.ml/docs/deployment-guide.html

paulbkoch avatar Feb 11 '23 06:02 paulbkoch