modelStudio
modelStudio copied to clipboard
❓❔ FAQ & Troubleshooting ❔❓
modelStudio FAQ & Troubleshooting
Most of the information is covered in the documentation: https://modelstudio.drwhy.ai/
:sparkles: Please, submit a new issue when dealing with potential bugs. Thanks! :sparkles:
-
Error occurred during the
modelStudio()
computation -
foo
plot doesn't show up on the dashboard
- Read the console output of
DALEX::explain()
. There could be a warning message pointing to the solution of this problem. - Read the console output of
modelStudio()
. There could be an error message (printed as a warning) pointing to the origin and solution of this problem. - Make sure to update these R packages to their latest versions:
DALEX
,ingredients
,iBreakDown
.
-
modelStudio()
output shows up as a white window in the RStudio Viewer
Solve this by updating the RStudio. Please, check if the output shows up properly in the browser (e.g. use viewer = "browser"
argument in modelStudio()
).
- y-axis labels go outside of the plot
Use modelStudio(..., options = ms_options(margin_left = 200))
.
-
Unable to load the pickle file with Explainer object See
reticulate
vignettes: Python Version Configuration Installing Python Packages -
NA in data See https://github.com/ModelOriented/modelStudio/issues/71
-
Shiny support See https://github.com/ModelOriented/modelStudio/issues/77
-
Quarto support See https://github.com/ModelOriented/modelStudio/issues/116
-
Change the number of panels with plots from 2x2 to 1x2 or 3x3 (grid size of the dashboard) See https://github.com/ModelOriented/modelStudio/issues/54#issuecomment-1537548672
4X4 modelStudios the only way to get a studio?
just a half scroll down from https://modelstudio.drwhy.ai/, we are greeted by a very nice 1x2 panel modelStudio.
All variations of modelStudio I am able to create are only 4x4 panels. I can't see any option/argument to choose the sleeker version of modelStudio.
4X4 modelStudios the only way to get a studio?
just a half scroll down from https://modelstudio.drwhy.ai/, we are greeted by a very nice 1x2 panel modelStudio.
All variations of modelStudio I am able to create are only 4x4 panels. I can't see any option/argument to choose the sleeker version of modelStudio.
Hi, you can use the facet_dim
parameter in modelStudio()
https://modelstudio.drwhy.ai/articles/ms-perks-features.html#grid-size
Wow. 5 mins response time. Thanks so much!!
@hbaniecki MS is a very cool tool, love it! I have a complex model trained on a large dataset and MS html report generation fails I guess due to resource constrains... Is it possible to restrict MS to generate only preselected reports? E.g. exclude partial dependency completely. I have not found this option at all.
Hi @BalintKomjati, I am glad you find MS useful. Unfortunately, "MS html report generation fails" is not specific enough for me to be able to help troubleshoot the issue. Answering the question: partially, you can omit to generate EDA plots using the eda=FALSE
parameter, but there is currently no option to exclude a selected plot. In general, consider restraining the size of data passed to explain()
to 10K observations, as no more are effectively used to create visualizations. There are other options allowing you to decrease the required computation resources https://modelstudio.drwhy.ai/articles/ms-perks-features.html#more-calculations-means-more-time Feel free to open a new issue or write me an email describing the "generation fail".
@hbaniecki thanks for the quick reply! By no means I wanted to ask you to troubleshoot my issue :) I have not dig into it and was just looking for a confirmation that this option is not available (bc it would be a great tool to check which plot might cause the trouble...) Thanks again! :)