| evaluate-methods | R Documentation |
These methods provide the standard print() and summary() interfaces for
funcml_eval objects, plus a plot() method for fold-level diagnostics.
## S3 method for class 'funcml_eval'
print(x, digits = 4L, ...)
## S3 method for class 'funcml_eval'
summary(object, digits = 4L, ...)
## S3 method for class 'funcml_eval'
plot(x, ...)
x |
A |
digits |
Number of digits numeric columns are rounded to when printed. |
... |
Additional arguments passed to the underlying method. |
object |
A |
print() and summary() return the input object or summary
table invisibly. plot() returns a ggplot2 object.
eval_obj <- evaluate(
data = mtcars,
formula = mpg ~ wt + hp,
model = "glm",
resampling = cv(3, seed = 1),
metrics = c("rmse", "mae")
)
print(eval_obj)
summary(eval_obj)
plot(eval_obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.