Azure / MachineLearningNotebooks

Python notebooks with ML and deep learning examples with Azure Machine Learning Python SDK | Microsoft
https://docs.microsoft.com/azure/machine-learning/service/
MIT License
4.08k stars 2.52k forks source link

Local notebook to interprect model does not work #651

Closed bcafferky closed 4 years ago

bcafferky commented 4 years ago

The library says it cannot find the module . Code and error below. I tried this by importing the notebook into an Azure Notebook.

code:

2. Mimic Explainer

from interpret.ext.blackbox import MimicExplainer

You can use one of the following four interpretable models as a global surrogate to the black box model

from interpret.ext.glassbox import LGBMExplainableModel from interpret.ext.glassbox import LinearExplainableModel from interpret.ext.glassbox import SGDExplainableModel from interpret.ext.glassbox import DecisionTreeExplainableModel

OR

3. PFI Explainer

from interpret.ext.blackbox import PFIExplainer

Gives the error: ModuleNotFoundError Traceback (most recent call last)

in 4 # Explainers: 5 # 1. SHAP Tabular Explainer ----> 6 from interpret.ext.blackbox import TabularExplainer 7 8 # OR ModuleNotFoundError: No module named 'interpret'
lostmygithubaccount commented 4 years ago

@bcafferky is this still an issue? can you provide more details on the notebook that is failing?

minthigpen commented 4 years ago

@bcafferky could you please update this thread with more details on the notebook that is failing?

bcafferky commented 4 years ago

Hi,

I left Microsoft back in December. Please remove me from this.

Thanks,

Bryan