Move decomposition module into methods sub-package

- move the module
- unify the corresponding tests in `tests.forecasts.methods` sub-package
- make all `predict()` and the `stl()` function round results
- streamline documentation
This commit is contained in:
Alexander Hess 2021-01-31 18:50:24 +01:00
commit 08b748c867
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
9 changed files with 21 additions and 14 deletions

View file

@ -0,0 +1 @@
"""Tests for the `urban_meal_delivery.forecasts.methods` sub-package."""

View file

@ -7,7 +7,7 @@ import pytest
from tests.forecasts.conftest import NS
from tests.forecasts.conftest import VERTICAL_FREQUENCY
from urban_meal_delivery.forecasts import decomposition
from urban_meal_delivery.forecasts.methods import decomposition
class TestInvalidArguments:

View file

@ -1,4 +1,7 @@
"""Test the `arima.predict()` and `ets.predict()` functions."""
"""Test the `arima.predict()` and `ets.predict()` functions.
We consider both "classical" time series prediction models.
"""
import datetime as dt