autoplot.workflow | R Documentation |
The autoplot()
method plots cross validation performances of candidate
models in H2O AutoML output via facets on each metric.
## S3 method for class 'workflow'
autoplot(object, ...)
## S3 method for class 'H2OAutoML'
autoplot(
object,
type = c("rank", "metric"),
metric = NULL,
std_errs = qnorm(0.95),
...
)
object |
A fitted |
... |
Other options to pass to |
type |
A character value for whether to plot average ranking ("rank") or metrics ("metric"). |
metric |
A character vector or NULL for which metric to plot. By default, all metrics will be shown via facets. |
std_errs |
The number of standard errors to plot. |
A ggplot object.
if (h2o_running()) {
auto_fit <- auto_ml() %>%
set_engine("h2o", max_runtime_secs = 5) %>%
set_mode("regression") %>%
fit(mpg ~ ., data = mtcars)
autoplot(auto_fit)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.