AutoETSForecaster¶
yohou_nixtla.stats.AutoETSForecaster
¶
Bases: BaseStatsForecaster
AutoETS forecaster via statsforecast.
Automatically selects the best ETS (Error, Trend, Seasonality) model.
Parameters¶
| Name | Type | Description | Default |
|---|---|---|---|
season_length
|
int
|
Length of the seasonal period. |
1
|
model
|
str
|
ETS model specification. |
"ZZZ"
|
freq
|
str or None
|
Frequency string. Auto-inferred from data if None. |
None
|
feature_transformer
|
BaseTransformer or None
|
Transformer applied to exogenous features before fitting/predicting. |
None
|
target_transformer
|
BaseTransformer or None
|
Transformer applied to the target before fitting. Inverse-transformed after predicting to return forecasts in the original scale. |
None
|
target_as_feature
|
('transformed', 'raw')
|
Whether to include target values as additional features. |
"transformed"
|
**params
|
dict
|
Additional parameters forwarded to |
{}
|
Attributes¶
| Name | Type | Description |
|---|---|---|
nixtla_forecaster_ |
StatsForecast
|
The fitted Nixtla orchestrator. |
instance_ |
AutoETS
|
The constructed AutoETS model instance. |
See Also¶
HoltWintersForecaster : ETS-style model with manually specified components. AutoARIMAForecaster : Automatic ARIMA model selection.
Examples¶
>>> from yohou_nixtla.stats import AutoETSForecaster
>>> forecaster = AutoETSForecaster(season_length=12)
>>> forecaster
AutoETSForecaster(...)
Source Code¶
Show/Hide source
Tutorials¶
The following example notebooks use this component:
-
How to Compare Forecasters
Fit multiple statistical forecasters on the same dataset and evaluate their accuracy with MAE.