Skip to contents

Print an EvaluatorMSE object.

Usage

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

Arguments

x

An EvaluatorMSE 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 <- EvaluatorMSE(predictions, x, "target")
print(evaluation)
#> [1] 2