Skip to content

forecastML v1.0.0 and a list of breaking changes #35

@nredell

Description

@nredell

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions