Open drbenvincent opened 1 year ago
Now we have a sklearn.linear_model.LinearRegression
model. When we add month
as a categorical variable, this does a good job of fitting the seasonality component.
But we do still need a proper time series model here.
Just dropping in a link to the developments on state space models by @jessegrabowski here https://discourse.pymc.io/t/state-space-models-in-pymc/9146
2 added a very simple interrupted time series example with no predictors.
But it would be good to add another example where there is more temporal structure. This would then we well suited for an actual time series model, here an AR model.
generate_time_series_data
(rename this)AutoRegressive
subclass ofCausalBase
TODO
scikit-learn
orsktime
model. But pmdarima actually looks very promising. It wrapsstatsmodels
but provides the fit/predict API.pymc
model