in `tune::show_best()`:
Error ! `...` must be empty.
:
✖ Problematic argument1 = metric
• .. ℹ Did you forget to name an argument?
workflows
mode = “regression”hardhat 1.0.0
In modeltime
1.0.0, we introduced Nested Forecasting as
a way to forecast many time series iteratively. In
modeltime.ensemble
1.0.0, we introduce nested ensembles
that can improve forecasting performance and be applied to many time
series iteratively. We have added:
ensemble_nested_average()
: Apply average ensembles
iterativelyensemble_nested_weighted()
: Apply weighted ensembles
iterativelymodeltime
0.7.0.modeltime
0.6.0).modeltime
0.6.0 and parsnip
0.1.6
to align with xgboost
upgrades.Recursive Ensembles
recursive()
- The recursive()
function is
extended to recursive ensembles for both single time series and multiple
time series models (panel data).recurive()
with ensembles.Fixes
modeltime_forecast()
now returns NA
when
missing values are present in the sub-model predictions.Panel Data
ensemble_average()
,
ensemble_weighted()
and ensemble_model_spec()
to support Panel Data (i.e. when data sets with multiple time
series groups that have possibly overlapping time stamps).Changes
modeltime.ensemble
now depends on
modeltime.resample
for the
modeltime_fit_resamples()
functionality.modeltime_fit_resamples()
moved to a new package
modeltime.resample
.ensemble_weighted()
: Now removes models that have no
weight (e.g. loading = 0). This speeds up refitting.Stacked Ensembles (Breaking Changes)
The process for creating stacked ensembles is split into 2 steps:
modeltime_fit_resamples()
to generate
resampled predictionsensemble_model_spec()
to apply stacking
using a model_spec
Note - modeltime_refit(stacked_ensemble)
is still one
step, which is the best way to handle refitting since multiple stacked
models may have different submodel compositions. An additional argument,
resamples
can be provided to train stacked ensembles made
with ensemble_model_spec()
.
modeltime.ensemble
.