049a5f6f62
Remove periods from one-sentence comments
2026-12-03 10:04:43 +01:00
c1f04c65aa
Count rows with select() in the tests
...
`Session.query()` is the legacy API in SQLAlchemy 2.x.
2026-12-01 23:17:57 +01:00
7d53abc057
Avoid lazy loads in .__repr__()
...
`ReplaySimulation`, `ReplayedOrder`, and `Forecast` accessed
relationships in their `.__repr__()`, which emits queries
or fails for detached instances.
They now use the foreign key columns.
2026-12-01 22:34:38 +01:00
e30b3efbe8
Use the sa alias for sqlalchemy everywhere
...
`sa` is the common alias, also in SQLAlchemy's own documentation
2026-11-30 14:18:05 +01:00
ea8f1a13e3
Use double quotes
2026-11-28 03:26:13 +01:00
9fcb3c8c14
Remove all "WPS" codes
2026-11-28 03:25:20 +01:00
dbdce83067
Upgrade black
2026-11-25 10:30:47 +01:00
4855209392
Rename the urban_meal_delivery package into velofy
2026-11-23 18:06:53 +01:00
3f5b4a50bb
Rename Forecast.training_horizon into .train_horizon
...
- we use that shorter name in `urban_meal_delivery.forecasts.*`
and want to be consistent in the ORM layer as well
2021-02-02 13:09:09 +01:00
796fdc919c
Add Forecast.from_dataframe() constructor
...
- this alternative constructor takes the `pd.DataFrame`s from the
`*Model.predict()` methods and converts them into ORM models
2021-02-01 15:50:30 +01:00
1d63623dfc
Add Forecast.__repr__()
2021-01-31 21:57:05 +01:00
a5b590b24c
Add Forecast.actual column
2021-01-31 18:29:53 +01:00
f37d8adb9d
Add confidence intervals to Forecast model
...
- add `.low80`, `.high80`, `.low95`, and `.high95` columns
- add check contraints for the confidence intervals
- rename the `.method` column into `.model` for consistency
2021-01-20 16:57:39 +01:00
9196c88ed4
Remove pylint from the project
2021-01-09 17:47:45 +01:00
e8c97dd7da
Add Forecast model to ORM layer
...
- the model handles the caching of demand forecasting results
- include the database migration script
2021-01-07 12:59:30 +01:00