-
Notifications
You must be signed in to change notification settings - Fork 15
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
Hidden last contribution label in the break_down plot #85
Comments
This issue was reported numerous times. A possible solution (implemented in Edit: Unable to resolve, because the |
@hbaniecki would you check if d574460 solves this issue? maybe I've missed something |
My intention was to place this text on the left side of the bar. The candidate fix is still better than no fix. Can we do the same for the intercept bar? See library("DALEX")
library("iBreakDown")
set.seed(1313)
model_titanic_glm <- glm(survived ~ gender + age + fare,
data = titanic_imputed, family = "binomial")
explain_titanic_glm <- explain(model_titanic_glm,
data = titanic_imputed,
y = titanic_imputed$survived,
label = "glm")
bd_glm <- local_attributions(explain_titanic_glm, titanic_imputed[1, ])
bd_glm
plot(bd_glm, max_features = 3, baseline=0.5) |
thanks, now it's on the right side, in next version we can add an option for this |
Thanks |
@hbaniecki Thank you for pointing us the docs for iBreakDown, etc.!
I don't know if this is helpful but I got this minor issue a while ago for binary classification models.
The prediction for the positive cases works fine, but for negative cases the prediction becomes unreadable.
adding vcolors to the generic plot function worked for me:
Thanks for your reply!
Originally posted by @marcjermaine-pontiveros in ModelOriented/DALEX#176 (comment)
The text was updated successfully, but these errors were encountered: