Skip to contents

Print an EvaluatorAUC object.

Usage

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

Arguments

x

An EvaluatorAUC object which should be printed.

...

Optional arguments for the print function

See also

Examples

x <- data.frame(var1 = c(1, 2, 3, 4, 5, 6, 7), target = c(1, 1, 1, 1, 0, 1, 0))
predictions <- c(1)
evaluation <- EvaluatorAUC(predictions, x, "target")
print(evaluation)
#> Area under the curve: 0.5
# or simply
evaluation
#> Area under the curve: 0.5