Create tactical demand forecasts
- 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
This commit is contained in:
parent
21d012050c
commit
9d6de9d98c
5 changed files with 3480 additions and 4 deletions
|
|
@ -542,9 +542,9 @@ class OrderHistory:
|
|||
pixel_id=pixel_id, predict_day=predict_day, train_horizon=train_horizon,
|
||||
)
|
||||
|
||||
# For now, we only make forecasts with 8 weeks
|
||||
# For now, we only make forecasts with 7 and 8 weeks
|
||||
# as the training horizon (note:4f79e8fa).
|
||||
if train_horizon == 8:
|
||||
if train_horizon == 7 or train_horizon == 8:
|
||||
if add >= 25: # = "high demand"
|
||||
return models.HorizontalETSModel(order_history=self)
|
||||
elif add >= 10: # = "medium demand"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue