Learn R Programming

auditor (version 1.3.5)

print.auditor_model_performance: Prints Model Performance Summary

Description

Prints Model Performance Summary

Usage

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

Arguments

x

an object auditor_model_performance created with model_performance 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_performance(glm_audit)

Run the code above in your browser using DataLab