Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to enable ICE and use What-If on Databricks? #290

Open
FMalnegro opened this issue Jul 21, 2020 · 7 comments
Open

How to enable ICE and use What-If on Databricks? #290

FMalnegro opened this issue Jul 21, 2020 · 7 comments

Comments

@FMalnegro
Copy link

Hi!

Been trying to explore the framework and wanted to try out and further understand perturbations and what-ifs. But upon rendering the ExplanationDashboard, there's a note below stating that an operationalized model is needed to make predictions on hypothetical datapoints for what-ifs. How do we proceed from here?

Thanks!

image

@imatiach-msft
Copy link
Collaborator

@FMalnegro what platform are you trying this on? Is this on a VM or on local compute? There are some issues with what if analysis on remote compute because the browser needs to be able to send POST requests to the remote compute which runs the flask service. We've been trying to resolve this on different platforms one at a time.

@FMalnegro
Copy link
Author

Hi, @imatiach-msft

Thanks for your response. I'm on Databricks 7.0 ML. Are there workarounds for this type of setup as of the moment?

@imatiach-msft
Copy link
Collaborator

@FMalnegro unfortunately Databricks is the most difficult environment of all, because the driver/worker nodes are under their own virtual network, and for WhatIf analysis we basically need to call predict on the model using the python code. I created an issue on databricks forum several days ago:
https://forums.databricks.com/questions/42981/call-flask-app-on-azure-databricks.html
As of right now I'm not sure this is even possible in Databricks.

@FMalnegro
Copy link
Author

Thanks for the insight, @imatiach-msft

Your description does clarify how difficult it is to make this work in Databricks. In the meantime, I will also follow the link that you have shared for any updates on the matter.

@FMalnegro FMalnegro changed the title How to enable ICE and use What-If for a locally trained model? How to enable ICE and use What-If on Databricks? Jul 24, 2020
@darrenyu1111
Copy link

darrenyu1111 commented Aug 19, 2020

@imatiach-msft in azure ML service - notebook(jupyter) on a computer instance(VM STANDARD_DS3_V2 ) it seems doesn't work.

pic3

@imatiach-msft
Copy link
Collaborator

@darrenyu1111 this should have been just fixed with the latest release 0.14.3 (what if and ICE plots on compute instance in AzureML)

@darrenyu1111
Copy link

@imatiach-msft , thanks. it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants