Learn R Programming

auditor (version 1.3.5)

print.auditor_score: Prints of Models Scores

Description

Prints of Models Scores

Usage

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

Arguments

x

an object auditor_score created with score 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)
# calculate score
score(glm_audit, type = "auc")

Run the code above in your browser using DataLab