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

Dashboards not loading from saved yaml, joblib files. #286

Open
Sajalj98 opened this issue Nov 20, 2023 · 2 comments
Open

Dashboards not loading from saved yaml, joblib files. #286

Sajalj98 opened this issue Nov 20, 2023 · 2 comments

Comments

@Sajalj98
Copy link

I am using following code to save the dashboard in joblib format.

dashboard = ExplainerDashboard(explainer,
title=db_title,
shap_interaction=False, # Switch off tabs with bools
no_permutations=True,
hide_poweredby=True,
simple=False,
depth=10,
summary_type='detailed',
decision_trees=False,
max_cat_colors=2,
color_col=None
)

dashboard.to_yaml('explainer.yaml',
explainerfile=expr.joblib', dump_explainer=True)

It is correctly saved as explainer.joblib.

Later when using a flask app try to run the dashboard in one of the endpoints using -

db_expr = ExplainerDashboard.from_config("explainer.yaml",server=app,url_base_pathname="/dashboard_one/")

But I can't get the result.
The screen just says loading and stuck.
Please provide a solution.

Thank you in advance.

@oegedijk
Copy link
Owner

Do you see any errors in the console? Very hard to debug without an error message...

@datatalking
Copy link

@Sajalj98 I was going to say the same thing that @oegedijk mentioned, share a screenshot or stacktrace of your code.

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

No branches or pull requests

3 participants