Describe the bug
Hi, I am running the error analysis notebook in the examples, when i am running the notebook on Google colab i am getting the tree visualisation, and when i am storing the response from the local host server, and displaying it on google colab, using Ipython, it displays the tree visualisation
import requests
response = requests.get('http://localhost:8704')
from IPython.display import display, HTML
display(HTML(response.text))
Now the issue is, when i store the response in a html file, and open it in browser i am not getting the tree visualisation and getting the data exploration UI as it is, there are some errors which i am seeing on dev console of the browser
response_error_global_dummy (2).html:17
Uncaught (in promise) TypeError: Failed to fetch
at Q (response_error_global_dummy (2).html:17:3744176)
at Object.i [as requestImportances] (response_error_global_dummy (2).html:17:4214354)
at new iu (response_error_global_dummy (2).html:17:4196435)
at ha (response_error_global_dummy (2).html:17:12289645)
at Fo (response_error_global_dummy (2).html:17:12308996)
at Rs (response_error_global_dummy (2).html:17:12352816)
at bl (response_error_global_dummy (2).html:17:12338855)
at vl (response_error_global_dummy (2).html:17:12338783)
at gl (response_error_global_dummy (2).html:17:12338646)
at ll (response_error_global_dummy (2).html:17:12335641)
response_error_global_dummy (2).html:17
Uncaught (in promise) TypeError: Failed to fetch
at Q (response_error_global_dummy (2).html:17:3744176)
at Object.n [as getTreeNodes] (response_error_global_dummy (2).html:17:4214298)
at yl.fetchTreeNodes (response_error_global_dummy (2).html:17:4131985)
at yl.componentDidMount (response_error_global_dummy (2).html:17:4119894)
at ls (response_error_global_dummy (2).html:17:12325902)
at wl (response_error_global_dummy (2).html:17:12343150)
at t.unstable_runWithPriority (response_error_global_dummy (2).html:17:665926)
at Ni (response_error_global_dummy (2).html:17:12284938)
at _l (response_error_global_dummy (2).html:17:12339747)
at ll (response_error_global_dummy (2).html:17:12335866)
Also i am running the same notebook on AWS Sagemaker notebook, and the tree visualisation is not working but other features of Dashboard is working
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Stack trace
If applicable, please add the sdk stack trace for the error.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS] iOS
- Browser [e.g. chrome, safari] Chrome, Firefox, Safari
- Python version: [e.g. 3.9.12] 3.10.13
- raiwidgets and responsibleai package versions [e.g. 0.19.0]
To get the package versions please run in your command line:
pip show raiwidgets
pip show responsibleai
Name: raiwidgets
Version: 0.34.1
Summary: Interactive visualizations to assess fairness, explain models, generate counterfactual examples, analyze causal effects and analyze errors in Machine Learning models.
Home-page: https://github.com/microsoft/responsible-ai-toolbox
Author: Roman Lutz, Ilya Matiach, Ke Xu
Author-email: [raiwidgets-maintain@microsoft.com](mailto:raiwidgets-maintain@microsoft.com)
License:
Location: /usr/local/lib/python3.10/dist-packages
Requires: erroranalysis, fairlearn, itsdangerous, lightgbm, numpy, pandas, rai-core-flask, raiutils, responsibleai, scikit-learn, scipy
Required-by:
Name: responsibleai
Version: 0.34.1
Summary: SDK API to explain models, generate counterfactual examples, analyze causal effects and analyze errors in Machine Learning models.
Home-page: https://github.com/microsoft/responsible-ai-toolbox
Author: Roman Lutz, Ilya Matiach, Ke Xu
Author-email: [raiwidgets-maintain@microsoft.com](mailto:raiwidgets-maintain@microsoft.com)
License:
Location: /usr/local/lib/python3.10/dist-packages
Requires: dice-ml, econml, erroranalysis, interpret-community, ipykernel, jsonschema, lightgbm, markupsafe, ml-wrappers, networkx, numba, numpy, pandas, raiutils, scikit-learn, scipy, semver, statsmodels
Required-by: raiwidgets
Additional context
Add any other context about the problem here.
Describe the bug
Hi, I am running the error analysis notebook in the examples, when i am running the notebook on Google colab i am getting the tree visualisation, and when i am storing the response from the
local host server, and displaying it on google colab, using Ipython, it displays the tree visualisationNow the issue is, when i store the response in a html file, and open it in browser i am not getting the tree visualisation and getting the data exploration UI as it is, there are some errors which i am seeing on dev console of the browser
Also i am running the same notebook on AWS Sagemaker notebook, and the tree visualisation is not working but other features of Dashboard is working
To Reproduce
Steps to reproduce the behavior:
Stack trace
If applicable, please add the sdk stack trace for the error.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
To get the package versions please run in your command line:
Additional context
Add any other context about the problem here.