Skip to content
  1. Feb 04, 2021
    • Alexander Hess's avatar
      Merge branch 'release-0.3.0' into develop · 915aa4d3
      Alexander Hess authored
      915aa4d3
    • Alexander Hess's avatar
      Finalize release 0.3.0 · d4ca85b5
      Alexander Hess authored
      d4ca85b5
    • Alexander Hess's avatar
      Pin the dependencies ... · 0da86e5f
      Alexander Hess authored
      ... after upgrading:
      - alembic
      - matplotlib
      - pandas
      - rpy2
      - sqlalchemy
      - statsmodels
      - dev dependencies
        + coverage     + factory-boy    + faker                 + nox
        + packaging    + pre-commit     + flake8-annotations    + pytest
        + pytest-cov   + sphinx
      - research dependencies
        + numpy        + pyty
      - transient dependencies
        + astpretty    + atomicwrites   + bleach                + chardet
        + colorlog     + darglint       + flake8-comprehensions + gitpython
        + identify     + ipykernel      + ipython               + jedi
        + jinja2       + jupyter-client + jupyter-core          + mako
        + nbformat     + nest-asyncio   + notebook              + parso
        + pluggy       + prompt-toolkit + ptyprocess            + pygments
        + pyyaml       + pyzmq          + requests              + smmap
        + terminado    + textfixtures   + snowballstemmer       + typed-ast
        + urllib3      + virtualenv
      
      - fix SQL statements written in raw text
      0da86e5f
    • Alexander Hess's avatar
      50b35a82
  2. Feb 02, 2021
  3. 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
  4. Jan 31, 2021
  5. Jan 26, 2021
  6. Jan 24, 2021
  7. Jan 21, 2021
  8. Jan 20, 2021
  9. Jan 11, 2021
    • Alexander Hess's avatar
      Add `stl()` function · 98b6830b
      Alexander Hess authored
      - `stl()` wraps R's "stl" function in Python
      - STL is a decomposition method for time series
      98b6830b
    • Alexander Hess's avatar
      Add rpy2 to the dependencies · b0f2fdde
      Alexander Hess authored
      - add a Jupyter notebook that allows to install all project-external
        dependencies regarding R and R packages
      - adjust the GitHub Action workflow to also install R and the R packages
        used within the project
      - add a `init_r` module that initializes all R packages globally
        once the `urban_meal_delivery` package is imported
      b0f2fdde
  10. Jan 10, 2021
  11. Jan 09, 2021
Loading