forecastML v1.0.0 will probably drop in late July (I don't work on this full time so who knows). That's cool. What's not cool are breaking changes. I really want forecastML to have an API that is as close as possible to that in https://tidyverts.org/. The ML and statistical approaches to forecasting are complementary and I can easily see both fable and forecastML being used in the same script. API consistency will reduce switching costs.
This issue will contain a list of breaking changes that I'm planning. All future releases of forecastML will be backward compatible with v1.0.0. Eventually, I'll make a pkgdown site that will organize these changes and the general package structure, but for now we have this.
-
fill_gaps()
- The
date_col argument will be changed to index and will take name or positional values.
- The
groups argument will be changed to key and will take name or positional values.
-
create_lagged_df()
- The
outcome_col argument will be changed to outcome and will take name or positional values.
- The
groups argument will be changed to key and will take name or positional values.
-
predict()
- The
prediction_function argument will likely change to predict_function.
-
combine_forecasts()
- The
combine_forecasts(..., ) argument will be replaced with combine_forecasts(forecasts, ) to work better with many models. The forecasts argument will optionally be a list for 1 model and must be a list for >1 models.
-
forecasting
- Datasets of forecast results have the forecast column named
forecast_period; this will be changed to index.
forecastMLv1.0.0 will probably drop in late July (I don't work on this full time so who knows). That's cool. What's not cool are breaking changes. I really wantforecastMLto have an API that is as close as possible to that in https://tidyverts.org/. The ML and statistical approaches to forecasting are complementary and I can easily see bothfableandforecastMLbeing used in the same script. API consistency will reduce switching costs.This issue will contain a list of breaking changes that I'm planning. All future releases of
forecastMLwill be backward compatible with v1.0.0. Eventually, I'll make apkgdownsite that will organize these changes and the general package structure, but for now we have this.fill_gaps()date_colargument will be changed toindexand will take name or positional values.groupsargument will be changed tokeyand will take name or positional values.create_lagged_df()outcome_colargument will be changed tooutcomeand will take name or positional values.groupsargument will be changed tokeyand will take name or positional values.predict()prediction_functionargument will likely change topredict_function.combine_forecasts()combine_forecasts(..., )argument will be replaced withcombine_forecasts(forecasts, )to work better with many models. Theforecastsargument will optionally be a list for 1 model and must be a list for >1 models.forecasting
forecast_period; this will be changed toindex.