ThetaForecaster¶
yohou_nixtla.stats.ThetaForecaster
¶
Bases: BaseStatsForecaster
Theta forecaster via statsforecast.
Standard Theta method for time series forecasting.
Parameters¶
| Name | Type | Description | Default |
|---|---|---|---|
season_length
|
int
|
Length of the seasonal period. |
1
|
decomposition_type
|
str
|
Type of seasonal decomposition. |
"multiplicative"
|
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_ |
Theta
|
The constructed Theta model instance. |
See Also¶
AutoThetaForecaster : Automatic Theta model selection.
Examples¶
>>> from yohou_nixtla.stats import ThetaForecaster
>>> forecaster = ThetaForecaster()
>>> forecaster
ThetaForecaster(...)