- #31 Fixes issue with metric argument not being specified:
Error in `tune::show_best()`:
! `...` must be empty.
✖ Problematic argument:
• ..1 = metric
ℹ Did you forget to name an argument?
- Resubmit to CRAN (following timetk archival)
- Update tests for
workflows
mode = "regression"
- Updates for
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 iteratively
- Calibration: Added "id" feature to enable accuracy and confidence intervals by time series ID.
- Improvements for parallel processing during refitting (available in
modeltime
0.6.0). - Requires
modeltime
0.6.0 andparsnip
0.1.6 to align with xgboost upgrades.
Recursive Ensembles
recursive()
- Therecursive()
function is extended to recursive ensembles for both single time series and multiple time series models (panel data).- "Forecasting with Recursive Ensembles" - A new forecasting vignette for using
recurive()
with ensembles.
Fixes
modeltime_forecast()
now returnsNA
when missing values are present in the sub-model predictions.
Panel Data
- Improvements made to
ensemble_average()
,ensemble_weighted()
andensemble_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 onmodeltime.resample
for themodeltime_fit_resamples()
functionality.modeltime_fit_resamples()
moved to a new packagemodeltime.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:
- Step 1: Use
modeltime_fit_resamples()
to generate resampled predictions - Step 2: Use
ensemble_model_spec()
to apply stacking using amodel_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()
.
- Initial release of
modeltime.ensemble
.