Learn R Programming

auditor (version 1.3.5)

print.auditor_model_residual: Prints Model Residual Summary

Description

Prints Model Residual Summary

Usage

# S3 method for auditor_model_residual
print(x, ...)

Arguments

x

an object auditor_model_residual created with model_residual function.

...

other parameters

Examples

Run this code
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
model_residual(glm_audit)

Run the code above in your browser using DataLab