microsoft / MLOpsPython

MLOps using Azure ML Services and Azure DevOps
MIT License
1.2k stars 1.09k forks source link

Enabling interpretability/expainability #378

Open RajdeepakBeniwal opened 3 years ago

RajdeepakBeniwal commented 3 years ago

Hi,

I tried installing azureml-interpret and azureml-explain-model and when i import tabularexplainer its not getting imported. And on checking logs it shows that these modules are not compatible so can you suggest the combination of dependencies that help me run these modules. Suggestions are welcome 😊.

smarter-code commented 2 years ago

Hi,

I had same issue before, you can see how I fixed it in my repo. https://github.com/smarter-code/demystifying-machine-learning-operations-PS/blob/master/automobile/training/train_aml.py

You are interested in the following lines in particular: 33,34,155-159

You'll also need to add dependencies: https://github.com/smarter-code/demystifying-machine-learning-operations-PS/blob/master/automobile/conda_dependencies.yml

lines: 26,27

I have a Pluralsight course discussing around this: https://app.pluralsight.com/course-player?clipId=75b738ae-3aa0-41bb-af69-d203bb43a562