detailed summary type does not work: Callback error updating interaction-summary-graph
See original GitHub issuein explainerdashboard version 0.34
when using the detailed summary type on the XGBRegressionExplainer i get the following error (in dash):
Callback error updating interaction-summary-graph-60.figure, interaction-summary-index-col-60.style 17:56:37 Callback error updating interaction-summary-graph-60.figure, interaction-summary-index-col-60.style
code to replicate:
from sklearn.datasets import load_diabetes
import pandas as pd
data = load_diabetes()
X = pd.DataFrame(data = data['data'],columns = data['feature_names'])
y = data['target']
from xgboost import XGBRegressor
sklearnxgbr = XGBRegressor()
sklearnxgbr.fit(X,y)
from explainerdashboard.explainers import XGBRegressionExplainer
from explainerdashboard import ExplainerDashboard
explainer = XGBRegressionExplainer(sklearnxgbr, X,y)
ExplainerDashboard(explainer,
summary_type='detailed',
).run()
All the other plots do work, including the aggregate summary plot but not the detailed (compact_dot) feature dependency and interaction summary plots
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Callback error updating plot-div.children (Plotly Dash)
I tried it and it works. The question is "why?'. (I have used this technique before without a problem) I added event_df to...
Read more >Callback error updating plot-div.children - Dash Python
Basically, I am trying to store intermediate value in a hidden div 'data-storage-json', but I am unable to use it - the callback...
Read more >The Dash Callback - Input, Output, State, and more - YouTube
The Callback is the most important element in Dash. You need to know it so you can create interactive dashboard apps.
Read more >Plotly-Dash error - Google Groups
Hi Guys,. I'm getting an error while executing the code...Please help me if anyone is aware of dash and plotly.
Read more >Callback initialization with None vs default properties #468
Through this analysis, I've come to the conclusion that plotly/dash-renderer#81 isn't a complete solution to the underlying issues and ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah, found it! There was a bug when you don’t define any onehot encoded columns. Fixed it, will try to get a new release out tomorrow.
So this fails:
but this should work:
Hi @oegedijk , it definitely works!
many thanks!