-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
model_diagnostics fails due to no rows to aggregate #109
Comments
Hi @MJimitater, without code and/or any reproducible example, e.g. on a different data/model, I might not be able to help you. |
Hi @hbaniecki, this is the code that I used
I hope this helps somewhat. |
Hi @MJimitater, of what class is the object passed to Googling the error message, I'm unsure if this issue is related to DALEX and modelStudio. Might try to debug it if you provide data/code. |
Hi @hbaniecki , the Yes, Im also unsure if this issue is related to modelStudio.. is there way to provide data/code confidentially? |
Can you serialize both in R, so I can load them into my environment and share with me at hbaniecki@gmail.com? Data can be small (a few rows). You can also create a simpler xgboost model where the error still occurs--perhaps a small subset of features suffices. Anyhow, I don't have your email to reach out. |
@hbaniecki Thanks so much for your help! Just now, I sent you an email with the model and data in .rds format. I hope you can reproduce, keep me posted ;) Cheers |
Hi @hbaniecki sorry for my late reply, Thanks again for your excellent help in debugging!
Now Im trying to find where the bug occurs, but seemingly everything works so far:
Now Im wondering that |
Hi, I presume your modelstudio is working just fine and you are only worried about the warning? As the message suggests, something went wrong in the For me to debug it further, it would be best to obtain the updated model/data. |
Thanks for your fast reply, I'll get back to you next week! ;) |
Actually you are right, modelStudio works just fine! Finally the explanation of single test cases works without errors! BTW, would be nice to have a faster way of explaining and visualizing individual test cases, than waiting a lengthy time for modelStudio to finish calculating, but I guess this the way it is ;) Great software! Thanks again for the excellent support, closing for now |
Hi, Im trying to get modelStudio() (v3.1.0) working in RStudio. It did work once, but after some changes to the xgboost model it is difficult for me to see why its not working anymore.
Creating
DALEX::explain()
works fine, alsoexplain$predict_function(trained_model, test[1, , drop = FALSE])
returns a valid score.But running
modelStudio(trained_model)
lately always gets stuck at the same spot:I tried finding out at what point aggregation fails, but its hard for me to really pin-point. Does anyone have an idea or ran into this issue before?
Sorry that I cannot provide any reproducible example, please let me know if further code snippets are needed, Im happy to provide and grateful for any help!
The text was updated successfully, but these errors were encountered: