Skip to contents

Print an EvaluatorMAE object.

Usage

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

Arguments

x

An EvaluatorMAE object which should be printed.

...

Optional arguments for the print function

See also

Examples

x <- data.frame(var1 = c(1, 1, 1, 1, 0), target = c(1, 2, 3, 4, 5))
predictions <- c(3)
evaluation <- EvaluatorMAE(predictions, x, "target")
print(evaluation)
#> [1] 1.2