ModelOriented / modelStudio

📍 Interactive Studio for Explanatory Model Analysis
https://doi.org/10.1007/s10618-023-00924-w
GNU General Public License v3.0
323 stars 32 forks source link

❓❔ FAQ & Troubleshooting ❔❓ #54

Open hbaniecki opened 4 years ago

hbaniecki commented 4 years ago

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:


  1. Read the console output of DALEX::explain(). There could be a warning message pointing to the solution of this problem.
  2. 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.
  3. Make sure to update these R packages to their latest versions: DALEX, ingredients, iBreakDown.

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()).

Use modelStudio(..., options = ms_options(margin_left = 200)).

CoolShades commented 1 year ago

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.

hbaniecki commented 1 year ago

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

CoolShades commented 1 year ago

Wow. 5 mins response time. Thanks so much!!

BalintKomjati commented 1 year ago

@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.

hbaniecki commented 1 year ago

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".

BalintKomjati commented 1 year ago

@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! :)