Comments (7)
Add a picture for more helpful messages:
from interpret-community.
@GISH123 the posting is only for what if analysis and ICE plots. It seems that starting the flask server is giving you trouble in the second screenshot:
This only happens when with_credentials=True, but I'm not sure you need this set - this is only if cookies are needed for your requests to the VM.
In the first screenshot you don't have this parameter set, but I'm not sure why it is failing. There should be a different error message somewhere. Without a repro and access to the environment it is really difficult to debug these types of issues.
Without with_credentials parameter set, the widget should still show, and WSGIServer would just run on localhost. So I'm not sure what is happening in the first screenshot.
If you like, we can try to have a call and debug together. In particular, I'm interested why in the first case the code is getting stuck, and where it is getting stuck. Cloning the repository and adding a bunch of print debug statements everywhere in the explanation_dashboard.py should reveal at what line the widget is getting stuck.
from interpret-community.
It seems like my global_explanation was not functioning properly, it was producing no outputs, and now currently it is producing a tqdm with shap outputs.
(I pip installed interpret-community and cloned repo on my home directory, now i deleted the cloned repo and running the codes it functioned properly, not sure the cause though)
Now the explanationdashboard is happening, but it seems like i need extra certification from my server. I'm trying to figuring it out on my own, and if I need help i will ask again.
Thank you for your help!
from interpret-community.
By the way,if I do something like this:
global_explanation = explainer.explain_global(x_train[:100])
then
ExplanationDashboard(global_explanation, model, datasetX=x_test[:50])
would it be reasonable to use different data volume?
from interpret-community.
Now the dashboard becomes something like this:
It says I have to use an account to get access to the website.
Well I just want to print the dashboard on the jupyter cell.
from interpret-community.
@GISH123 interesting, I've never seen this before! It seems the javascript can't be served to the jupyter notebook. There seems to be some middleware on your VM causing this error to appear. I'm not quite sure how to fix it though 😕
from interpret-community.
@GISH123 ah, I just thought of something, can you try setting the use_cdn=False parameter? Maybe it is having issues retrieving the javascript from the CDN - this way you can retrieve it locally.
from interpret-community.
Related Issues (20)
- WrappedClassificationModel() usage HOT 4
- ImportError: cannot import name 'TabularExplainer' HOT 3
- Issue when initializing explainer through TabularExplainer and KernelExplainer HOT 1
- Log scale combo box for Dependence plot's x axis HOT 2
- Replace load_boston with alternate regression dataset
- 'Expecting data to be a DMatrix object, got: ', <class 'pandas.core.frame.DataFrame'> HOT 7
- Question. How is the global explanation measured? HOT 7
- Question. How good is my surrogate model? HOT 8
- Explainers do not work with Keras models with multiple inputs HOT 10
- Calculate r2_score for PFIExplainer HOT 6
- Interpret explainer module question HOT 7
- Code Formatting Standards HOT 5
- TabularExplainer doesn't work with bias-mitigated model from fairlearn HOT 5
- How can I use MimicExplainer with Voting Classifier? [Question] HOT 5
- Dimension errors when using sklearn OneHotEncoder with min_frequency parameter HOT 1
- How can I get the data points of Aggregate feature importance ?
- Converting from NumPy array to list in mimic_explainer.py:_save()
- cannot import MimicExplainer HOT 7
- package `interpret-community` is incompatible with current `shap` version
- Getting <AttributeError: 'DynamicGlobalExplanation' object has no attribute 'get_ranked_per_class_names'> when running PFIExplainer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from interpret-community.