data(titanic_imputed, package = "DALEX")
# fit a model
model_glm <- glm(survived ~ ., family = binomial, data = titanic_imputed)
glm_audit <- audit(model_glm,
data= titanic_imputed,
y = titanic_imputed$survived)
# validate a model with auditor
me <- model_evaluation(glm_audit)
me
plot(me)
Run the code above in your browser using DataLab