Forecasting¶
The aeon.forecasting
module contains algorithms and composition tools for forecasting.
All clusterers in aeon``can be listed using the ``aeon.registry.all_estimators
utility,
using estimator_types="forecaster"
, optionally filtered by tags.
Valid tags can be listed using aeon.registry.all_tags
.
Base¶
Base forecaster template class. |
|
|
Forecasting horizon. |
Pipeline composition¶
Compositors for building forecasting pipelines.
Pipelines can also be constructed using *
, +
, and |
dunders.
|
Create a pipeline from aeon and sklearn estimators. |
|
Meta-estimator for forecasting transformed time series. |
|
Pipeline for forecasting with exogenous data. |
|
Forecast each series with separate forecaster. |
|
MultiplexForecaster for selecting among different models. |
|
Forecaster that forecasts exogeneous data for use in an endogeneous forecast. |
|
Forecast by instance or panel. |
|
Permutation compositor for permuting forecasting pipeline steps. |
|
Aggregates hierarchical data, fit forecasters and make predictions. |
Reduction¶
Reduction forecasters that use sklearn
regressors or aeon
time series regressors to make forecasts.
Use make_reduction
for easy specification.
|
Make forecaster based on reduction to tabular or time-series regression. |
|
Direct reduction from forecasting to tabular regression. |
|
Direct reduction from forecasting to time-series regression. |
|
Multioutput reduction from forecasting to tabular regression. |
Multioutput reduction from forecasting to time series regression. |
|
|
Recursive reduction from forecasting to tabular regression. |
Recursive reduction from forecasting to time series regression. |
|
|
Dir-rec reduction from forecasting to tabular regression. |
|
Dir-rec reduction from forecasting to time-series regression. |
Naive forecaster¶
|
Forecast based on naive assumptions about past trends continuing. |
Prediction intervals¶
Wrappers that add prediction intervals to any forecaster.
|
Compute the prediction variance based on a separate forecaster. |
|
Compute the prediction variance based on a naive strategy. |
|
Empirical and conformal prediction intervals. |
|
Forecast a time series by aggregating forecasts from its bootstraps. |
Trend forecasters¶
|
Trend based forecasts of time series data, regressing values on index. |
|
Forecast time series data with a polynomial trend. |
|
Implements STLForecaster based on statsmodels.tsa.seasonal.STL implementation. |
Exponential smoothing based forecasters¶
|
Holt-Winters exponential smoothing forecaster. |
|
ETS models with both manual and automatic fitting capabilities. |
|
Theta method for forecasting. |
|
Croston's method for forecasting intermittent time series. |
AR/MA type forecasters¶
Forecasters with AR or MA component. All “ARIMA” models below include SARIMAX capability.
|
Wrapper of the pmdarima implementation of fitting Auto-(S)ARIMA(X) models. |
|
Wrapper of the pmdarima implementation of fitting (S)ARIMA(X) models. |
|
StatsForecast AutoARIMA estimator. |
|
SARIMAX forecaster. |
|
A VAR model is a generalisation of the univariate autoregressive. |
|
Wrapper for statsmodels VARMAX model. |
Structural time series models¶
|
BATS forecaster for time series with multiple seasonality. |
|
TBATS forecaster for time series with multiple seasonality. |
|
Prophet forecaster by wrapping Facebook's prophet algorithm [R6cb662d17ac0-1]. |
|
Wrapper class of the UnobservedComponents model from statsmodels. |
|
Dynamic Factor Foracster. |
Ensembles and stacking¶
|
Ensemble of forecasters. |
|
Automatically find best weights for the ensembled forecasters. |
|
StackingForecaster. |
Hierarchical reconciliation¶
|
Hierarchical reconcilation forecaster. |
Online and stream forecasting¶
|
Online Updating Ensemble of forecasters. |
|
Parameter free hedging algorithm. |
|
Ensemble forecasts with Non-negative least squares based weighting. |
|
Update only periodically when update is called. |
|
Refits periodically when update is called. |
|
Turns off updates, i.e., ensures that forecaster is only fit and never updated. |
Model selection and tuning¶
|
Perform grid-search cross-validation to find optimal model parameters. |
|
Perform randomized-search cross-validation to find optimal model parameters. |
Model Evaluation (Backtesting)¶
|
Evaluate forecaster using timeseries cross-validation. |
Time series splitters¶
Time series splitters can be used in both evaluation and tuning.
|
Cutoff window splitter. |
|
Single window splitter. |
|
Sliding window splitter. |
|
Expanding window splitter. |
|
Split arrays or matrices into sequential train and test subsets. |