| tune-methods | R Documentation |
These methods provide the standard print(), summary(), and plot()
interfaces for funcml_tune objects.
## S3 method for class 'funcml_tune'
print(x, digits = 4L, ...)
## S3 method for class 'funcml_tune'
summary(object, digits = 4L, ...)
## S3 method for class 'funcml_tune'
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 results table
invisibly. plot() returns a ggplot2 object.
tune_obj <- tune(
data = mtcars,
formula = mpg ~ wt + hp,
model = "rpart",
grid = expand.grid(cp = c(0.001, 0.01), minsplit = c(5, 10)),
resampling = cv(3, seed = 1),
metric = "rmse"
)
print(tune_obj)
summary(tune_obj)
plot(tune_obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.