Add OrderHistory.choose_tactical_model()
- the method implements a heuristic from the first research paper that chooses the most promising forecasting `*Model` based on the average daily demand in a `Pixel` for a given `train_horizon` - adjust the test scenario => `LONG_TRAIN_HORIZON` becomes `8` as that is part of the rule implemented in the heuristic
This commit is contained in:
parent
8926e9ff28
commit
af82951485
6 changed files with 199 additions and 35 deletions
|
|
@ -36,7 +36,7 @@ def bad_predict_at():
|
|||
... not a long enough history so that both `SHORT_TRAIN_HORIZON`
|
||||
and `LONG_TRAIN_HORIZON` do not work.
|
||||
"""
|
||||
predict_day = test_config.END - datetime.timedelta(weeks=2, days=1)
|
||||
predict_day = test_config.END - datetime.timedelta(weeks=6, days=1)
|
||||
return datetime.datetime(
|
||||
predict_day.year, predict_day.month, predict_day.day, test_config.NOON, 0,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue