The autoplot()
method plots cross validation performances of candidate
models in H2O AutoML output via facets on each metric.
Arguments
- object
A fitted
auto_ml()
model.- ...
Other options to pass to
autoplot()
.- 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.
Examples
if (h2o_running()) {
auto_fit <- auto_ml() %>%
set_engine("h2o", max_runtime_secs = 5) %>%
set_mode("regression") %>%
fit(mpg ~ ., data = mtcars)
autoplot(auto_fit)
}