Add HorizontalSMAModel

- the model applies a simple moving average on horizontal time series
- refactor `db.Forecast.from_dataframe()` to correctly convert
  `float('NaN')` values into `None`; otherwise, SQLAlchemy complains
This commit is contained in:
Alexander Hess 2021-02-02 12:40:53 +01:00
commit 015d304306
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
5 changed files with 116 additions and 14 deletions

View file

@ -11,6 +11,7 @@ from urban_meal_delivery.forecasts import models
MODELS = (
models.HorizontalETSModel,
models.HorizontalSMAModel,
models.RealtimeARIMAModel,
models.VerticalARIMAModel,
)