Skip to content
  1. Mar 01, 2021
  2. Feb 09, 2021
    • Alexander Hess's avatar
      Create tactical demand forecasts · 9d6de9d9
      Alexander Hess authored
      - the first notebook runs the tactical-forecasts command
      - the second notebook describes the tactical demand forecasting process
        + demand aggregation on a per-pixel level
        + time series generation: horizontal, vertical, and real-time time series
        + STL decomposition into seasonal, trend, and residual components
        + choosing the most promising forecasting model
        + predicting demand with various models
      - fix where to re-start the forecasting process after it was interrupted
      - enable the heuristic for choosing the most promising model
        to also work for 7 training weeks
      9d6de9d9
  3. Feb 04, 2021
  4. Feb 02, 2021
  5. Feb 01, 2021
    • Alexander Hess's avatar
      Fix nox session for slow CI tests · 8926e9ff
      Alexander Hess authored
      - when running tests marked with "r" we still must not run tests
        marked with "db" on the CI server
      8926e9ff
    • Alexander Hess's avatar
      Add `OrderHistory.avg_daily_demand()` · cb7611d5
      Alexander Hess authored
      - the method calculates the number of daily `Order`s in a `Pixel`
        withing the `train_horizon` preceding the `predict_day`
      cb7611d5
    • Alexander Hess's avatar
      Add `urban_meal_delivery.forecasts.models` sub-package · 67cd58cf
      Alexander Hess authored
      - `*Model`s use the `methods.*.predict()` functions to predict demand
        given an order time series generated by `timify.OrderHistory`
      - `models.base.ForecastingModelABC` unifies how all `*Model`s work
        and implements a caching strategy
      - implement three `*Model`s for tactical forecasting, based on the
        hets, varima, and rtarima models described in the first research paper
      - add overall documentation for `urban_meal_delivery.forecasts` package
      - move the fixtures in `tests.forecasts.timify.conftest` to
        `tests.forecasts.conftest` and adjust the horizon of the test horizon
        from two to three weeks
      67cd58cf
    • Alexander Hess's avatar
      Add `Forecast.from_dataframe()` constructor · 796fdc91
      Alexander Hess authored
      - this alternative constructor takes the `pd.DataFrame`s from the
        `*Model.predict()` methods and converts them into ORM models
      796fdc91
    • Alexander Hess's avatar
      Add `extrapolate_season.predict()` function · b8952213
      Alexander Hess authored
      - the function implements a forecasting "method" similar to the
        seasonal naive method
        => instead of simply taking the last observation given a seasonal lag,
           it linearly extrapolates all observations of the same seasonal lag
           from the past into the future; conceptually, it is like the
           seasonal naive method with built-in smoothing
      - the function is tested just like the `arima.predict()` and
        `ets.predict()` functions
        + rename the `tests.forecasts.methods.test_ts_methods` module
          into `tests.forecasts.methods.test_predictions`
      - re-organize some constants in the `tests` package
      - streamline some docstrings
      b8952213
  6. Jan 31, 2021
  7. Jan 26, 2021
  8. Jan 24, 2021
  9. Jan 21, 2021
Loading