Finds the best models for each time series group in a Nested Modeltime Table using
a metric
that the user specifies.
Logs the best results, which can be accessed with extract_nested_best_model_report()
If filter_test_forecasts = TRUE
, updates the test forecast log, which can be accessed
extract_nested_test_forecast()
modeltime_nested_select_best(
object,
metric = "rmse",
minimize = TRUE,
filter_test_forecasts = TRUE
)
A Nested Modeltime Table
A metric to minimize or maximize. By default available metrics are:
"rmse" (default)
"mae"
"mape"
"mase"
"smape"
"rsq"
Whether to minimize or maximize. Default: TRUE (minimize).
Whether or not to update the test forecast log to filter only the best forecasts. Default: TRUE.