Add OrderHistory.make_real_time_time_series()
- the method slices out a real-time time series from the data within an `OrderHistory` object
This commit is contained in:
parent
5330ceb771
commit
100fac659a
3 changed files with 257 additions and 3 deletions
|
|
@ -8,6 +8,9 @@ from urban_meal_delivery import config
|
|||
# The day on which most test cases take place.
|
||||
YEAR, MONTH, DAY = 2016, 7, 1
|
||||
|
||||
# The hour when most test cases take place.
|
||||
NOON = 12
|
||||
|
||||
# `START` and `END` constitute a 15-day time span.
|
||||
# That implies a maximum `train_horizon` of `2` as that needs full 7-day weeks.
|
||||
START = datetime.datetime(YEAR, MONTH, DAY, config.SERVICE_START, 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue