Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upHidden 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)