Implement STL forecaster
See original GitHub issueIs your feature request related to a problem? Please describe. STL forecasting seems a common composite forecaster, so it will be useful to provide a class for it.
There is a STLForecaster in statsmodels.
Describe the solution you’d like It should be a composite forecaster consisting of a TransformedTargetPipeline which accepts any other forecaster and applies the forecaster to deseasonalized and detrended data.
forecaster = STLForecaster(MyForecaster(...), ...)
This should be equivalent to this pipeline:
forecaster = TransformedTargetForecaster(
[
("deseasonalise", Deseasonalizer(...)),
("detrend", Detrender(forecaster=PolynomialTrendForecaster(degree=1))),
("forecast", MyForecaster(...)),
]
)
Issue Analytics
- State:
- Created 2 years ago
- Comments:23
Top Results From Across the Web
STLForecaster — sktime documentation
Implements STLForecaster based on statsmodels.tsa.seasonal.STL implementation. The STLForecaster is using an STL to decompose the given series y into the ...
Read more >Implement STL forecaster · Issue #782
STL forecasting seems a common composite forecaster, so it will be useful to provide a class for it. There is a STLForecaster in...
Read more >statsmodels.tsa.forecasting.stl.STLForecast
Model-based forecasting using STL to remove seasonality ... 1.5 * period / (1 - 1.5 / seasonal), following the suggestion in the original...
Read more >6.6 STL decomposition | Forecasting: Principles and ...
STL is a versatile and robust method for decomposing time series. STL is an acronym for “Seasonal and Trend decomposition using Loess”, while...
Read more >Forecasting using stl objects
Arguments · object. An object of class stl or stlm . · method. Method to use for forecasting the seasonally adjusted series. ·...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Indeed - as a supplementary note, we ran a modified version of
test_update_predict_predicted_index_update_params
on the instantiatedttf
, which takes an object, not a class (i.e., where the “instantiation step” in the test is removed). The test was run with the standard inputs.I am on it