urban-meal-delivery/research/06_tactical_demand_forecasting.ipynb
Alexander Hess 9d6de9d98c
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
2021-02-09 17:06:37 +01:00

1531 lines
82 KiB
Text

{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Tactical Demand Forecasting"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"This notebook runs the script that creates all forecasts according to a heuristic derived from the first research paper \"Real-time Demand Forecasting for an Urban Delivery Platform\". Conceptually, this script is like a cache warmer so that the forecasts need not be made any more when optimizing the routing strategies. Instead, they are already in the database."
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[32murban-meal-delivery\u001b[0m, version \u001b[34m0.3.0\u001b[0m\n"
]
}
],
"source": [
"!umd --version"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Upgrade Database Schema"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"%cd -q .."
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"INFO [alembic.runtime.migration] Context impl PostgresqlImpl.\n",
"INFO [alembic.runtime.migration] Will assume transactional DDL.\n",
"INFO [alembic.runtime.migration] Running upgrade e86290e7305e -> c2af85bada01, Store actuals with forecast.\n",
"INFO [alembic.runtime.migration] Running upgrade c2af85bada01 -> 8bfb928a31f8, Rename `Forecast.training_horizon` into `.train_horizon`.\n"
]
}
],
"source": [
"!alembic upgrade 8bfb928a31f8"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Predict Demand in all Pixels"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Execute the script for all possible parameters. The script is designed to continue where it left off in a previous run, which is why the output is shortened below.\n",
"\n",
"Forecasts are created for city grids for a `train_horizon` of `7` and `8` weeks (in both cases the heuristic chooses the same forecasting `*Model`s given the same average daily demand on the training horizon). The `time_step` is `60` minutes for all forecasts.\n",
"\n",
"In total, the script is run `n_cities * n_grids * n_time_steps * n_train_horizons = 3 * 3 * 1 * 2 = 18` times."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"`umd tactical-forecasts CITY SIDE_LENGTH TIME_STEP TRAIN_HORIZON`"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Parameters: city=\"bordeaux\", grid.side_length=707, time_step=60, train_horizon=7\n",
"Predicting pixel #501 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #502 in bordeaux for 2017-01-31 with hsma\n",
"Predicting pixel #503 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #504 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #505 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #506 in bordeaux for 2017-01-31 with hsma\n",
"Predicting pixel #507 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #508 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #509 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #510 in bordeaux for 2017-01-30 with hsma\n",
"Predicting pixel #511 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #512 in bordeaux for 2017-01-31 with hsma\n",
"Predicting pixel #513 in bordeaux for 2017-01-30 with trivial\n",
"Predicting pixel #514 in bordeaux for 2017-01-30 with trivial\n",
"Predicting pixel #515 in bordeaux for 2016-11-15 with trivial\n",
"Predicting pixel #516 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #517 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #518 in bordeaux for 2016-10-15 with trivial\n",
"Predicting pixel #519 in bordeaux for 2017-01-30 with hsma\n",
"Predicting pixel #520 in bordeaux for 2017-01-31 with hsma\n",
"Predicting pixel #522 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #523 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #524 in bordeaux for 2017-01-30 with trivial\n",
"Predicting pixel #525 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #526 in bordeaux for 2017-01-10 with trivial\n",
"Predicting pixel #527 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #528 in bordeaux for 2017-01-31 with hsma\n",
"Predicting pixel #529 in bordeaux for 2017-01-31 with trivial\n"
]
}
],
"source": [
"!umd tactical-forecasts bordeaux 707 60 7"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Parameters: city=\"bordeaux\", grid.side_length=1000, time_step=60, train_horizon=7\n",
"Predicting pixel #531 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #532 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #533 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #534 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #535 in bordeaux for 2017-01-31 with hsma\n",
"Predicting pixel #536 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #537 in bordeaux for 2017-01-30 with hsma\n",
"Predicting pixel #538 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #539 in bordeaux for 2017-01-31 with hsma\n",
"Predicting pixel #540 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #541 in bordeaux for 2016-11-15 with trivial\n",
"Predicting pixel #542 in bordeaux for 2017-01-31 with hsma\n",
"Predicting pixel #543 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #544 in bordeaux for 2017-01-30 with hsma\n",
"Predicting pixel #545 in bordeaux for 2017-01-31 with hsma\n",
"Predicting pixel #546 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #547 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #548 in bordeaux for 2017-01-30 with trivial\n",
"Predicting pixel #549 in bordeaux for 2017-01-29 with trivial\n",
"Predicting pixel #550 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #551 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #552 in bordeaux for 2017-01-31 with trivial\n"
]
}
],
"source": [
"!umd tactical-forecasts bordeaux 1000 60 7"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Parameters: city=\"bordeaux\", grid.side_length=1414, time_step=60, train_horizon=7\n",
"Predicting pixel #553 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #554 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #555 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #556 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #557 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #558 in bordeaux for 2017-01-31 with hsma\n",
"Predicting pixel #559 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #560 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #561 in bordeaux for 2017-01-30 with hsma\n",
"Predicting pixel #562 in bordeaux for 2017-01-31 with hsma\n",
"Predicting pixel #563 in bordeaux for 2017-01-31 with hsma\n",
"Predicting pixel #564 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #565 in bordeaux for 2017-01-30 with trivial\n",
"Predicting pixel #566 in bordeaux for 2017-01-31 with trivial\n"
]
}
],
"source": [
"!umd tactical-forecasts bordeaux 1414 60 7"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Parameters: city=\"bordeaux\", grid.side_length=707, time_step=60, train_horizon=8\n",
"Predicting pixel #501 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #502 in bordeaux for 2017-01-31 with hsma\n",
"Predicting pixel #503 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #504 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #505 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #506 in bordeaux for 2017-01-31 with hsma\n",
"Predicting pixel #507 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #508 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #509 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #510 in bordeaux for 2017-01-30 with hsma\n",
"Predicting pixel #511 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #512 in bordeaux for 2017-01-31 with hsma\n",
"Predicting pixel #513 in bordeaux for 2017-01-30 with trivial\n",
"Predicting pixel #514 in bordeaux for 2017-01-30 with trivial\n",
"Predicting pixel #515 in bordeaux for 2016-11-15 with trivial\n",
"Predicting pixel #516 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #517 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #518 in bordeaux for 2016-10-15 with trivial\n",
"Predicting pixel #519 in bordeaux for 2017-01-30 with hsma\n",
"Predicting pixel #520 in bordeaux for 2017-01-31 with hsma\n",
"Predicting pixel #522 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #523 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #524 in bordeaux for 2017-01-30 with trivial\n",
"Predicting pixel #525 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #526 in bordeaux for 2017-01-10 with trivial\n",
"Predicting pixel #527 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #528 in bordeaux for 2017-01-31 with hsma\n",
"Predicting pixel #529 in bordeaux for 2017-01-31 with trivial\n"
]
}
],
"source": [
"!umd tactical-forecasts bordeaux 707 60 8"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Parameters: city=\"bordeaux\", grid.side_length=1000, time_step=60, train_horizon=8\n",
"Predicting pixel #531 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #532 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #533 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #534 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #535 in bordeaux for 2017-01-31 with hsma\n",
"Predicting pixel #536 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #537 in bordeaux for 2017-01-30 with hsma\n",
"Predicting pixel #538 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #539 in bordeaux for 2017-01-31 with hsma\n",
"Predicting pixel #540 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #541 in bordeaux for 2016-11-15 with trivial\n",
"Predicting pixel #542 in bordeaux for 2017-01-31 with hsma\n",
"Predicting pixel #543 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #544 in bordeaux for 2017-01-30 with hsma\n",
"Predicting pixel #545 in bordeaux for 2017-01-31 with hsma\n",
"Predicting pixel #546 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #547 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #548 in bordeaux for 2017-01-30 with trivial\n",
"Predicting pixel #549 in bordeaux for 2017-01-29 with trivial\n",
"Predicting pixel #550 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #551 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #552 in bordeaux for 2017-01-31 with trivial\n"
]
}
],
"source": [
"!umd tactical-forecasts bordeaux 1000 60 8"
]
},
{
"cell_type": "code",
"execution_count": 9,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Parameters: city=\"bordeaux\", grid.side_length=1414, time_step=60, train_horizon=8\n",
"Predicting pixel #553 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #554 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #555 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #556 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #557 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #558 in bordeaux for 2017-01-31 with hsma\n",
"Predicting pixel #559 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #560 in bordeaux for 2017-01-31 with hets\n",
"Predicting pixel #561 in bordeaux for 2017-01-30 with hsma\n",
"Predicting pixel #562 in bordeaux for 2017-01-31 with hsma\n",
"Predicting pixel #563 in bordeaux for 2017-01-31 with hsma\n",
"Predicting pixel #564 in bordeaux for 2017-01-31 with trivial\n",
"Predicting pixel #565 in bordeaux for 2017-01-30 with trivial\n",
"Predicting pixel #566 in bordeaux for 2017-01-31 with trivial\n"
]
}
],
"source": [
"!umd tactical-forecasts bordeaux 1414 60 8"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Parameters: city=\"lyon\", grid.side_length=707, time_step=60, train_horizon=7\n",
"Predicting pixel #1 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #2 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #3 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #4 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #5 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #6 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #7 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #8 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #9 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #10 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #11 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #12 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #13 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #14 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #15 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #16 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #17 in lyon for 2017-01-31 with trivial\n",
"Predicting pixel #18 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #19 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #20 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #21 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #22 in lyon for 2017-01-31 with trivial\n",
"Predicting pixel #23 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #24 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #25 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #26 in lyon for 2017-01-29 with hsma\n",
"Predicting pixel #27 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #28 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #29 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #30 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #31 in lyon for 2017-01-31 with trivial\n",
"Predicting pixel #32 in lyon for 2016-08-25 with trivial\n",
"Predicting pixel #33 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #34 in lyon for 2017-01-31 with trivial\n",
"Predicting pixel #35 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #36 in lyon for 2017-01-31 with trivial\n",
"Predicting pixel #37 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #38 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #39 in lyon for 2017-01-31 with trivial\n",
"Predicting pixel #40 in lyon for 2016-09-16 with trivial\n",
"Predicting pixel #41 in lyon for 2016-08-19 with trivial\n",
"Predicting pixel #42 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #43 in lyon for 2017-01-30 with trivial\n",
"Predicting pixel #44 in lyon for 2017-01-31 with trivial\n",
"Predicting pixel #45 in lyon for 2017-01-28 with trivial\n",
"Predicting pixel #46 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #47 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #48 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #49 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #50 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #51 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #52 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #53 in lyon for 2016-10-15 with trivial\n",
"Predicting pixel #54 in lyon for 2016-04-19 with trivial\n",
"Predicting pixel #55 in lyon for 2017-01-31 with trivial\n",
"Predicting pixel #56 in lyon for 2016-08-25 with trivial\n",
"Predicting pixel #57 in lyon for 2016-06-29 with trivial\n",
"Predicting pixel #58 in lyon for 2017-01-31 with trivial\n",
"Predicting pixel #59 in lyon for 2017-01-30 with trivial\n",
"Predicting pixel #61 in lyon for 2016-07-19 with trivial\n"
]
}
],
"source": [
"!umd tactical-forecasts lyon 707 60 7"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Parameters: city=\"lyon\", grid.side_length=1000, time_step=60, train_horizon=7\n",
"Predicting pixel #63 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #64 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #65 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #66 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #67 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #68 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #69 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #70 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #71 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #72 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #73 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #74 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #75 in lyon for 2017-01-30 with trivial\n",
"Predicting pixel #76 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #77 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #78 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #79 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #80 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #81 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #82 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #83 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #84 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #85 in lyon for 2016-08-25 with trivial\n",
"Predicting pixel #86 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #87 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #88 in lyon for 2017-01-31 with trivial\n",
"Predicting pixel #89 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #90 in lyon for 2017-01-31 with trivial\n",
"Predicting pixel #91 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #92 in lyon for 2017-01-31 with trivial\n",
"Predicting pixel #93 in lyon for 2017-01-30 with trivial\n",
"Predicting pixel #94 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #95 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #96 in lyon for 2016-12-22 with trivial\n",
"Predicting pixel #97 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #98 in lyon for 2016-10-15 with trivial\n",
"Predicting pixel #99 in lyon for 2016-08-25 with trivial\n"
]
}
],
"source": [
"!umd tactical-forecasts lyon 1000 60 7"
]
},
{
"cell_type": "code",
"execution_count": 12,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Parameters: city=\"lyon\", grid.side_length=1414, time_step=60, train_horizon=7\n",
"Predicting pixel #101 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #102 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #103 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #104 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #105 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #106 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #107 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #108 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #109 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #110 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #111 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #112 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #113 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #114 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #115 in lyon for 2017-01-30 with hsma\n",
"Predicting pixel #116 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #117 in lyon for 2017-01-31 with trivial\n",
"Predicting pixel #118 in lyon for 2016-08-25 with trivial\n",
"Predicting pixel #119 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #120 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #121 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #122 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #123 in lyon for 2016-08-25 with trivial\n"
]
}
],
"source": [
"!umd tactical-forecasts lyon 1414 60 7"
]
},
{
"cell_type": "code",
"execution_count": 13,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Parameters: city=\"lyon\", grid.side_length=707, time_step=60, train_horizon=8\n",
"Predicting pixel #1 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #2 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #3 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #4 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #5 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #6 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #7 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #8 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #9 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #10 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #11 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #12 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #13 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #14 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #15 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #16 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #17 in lyon for 2017-01-31 with trivial\n",
"Predicting pixel #18 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #19 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #20 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #21 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #22 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #23 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #24 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #25 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #26 in lyon for 2017-01-29 with hsma\n",
"Predicting pixel #27 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #28 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #29 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #30 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #31 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #32 in lyon for 2016-08-25 with trivial\n",
"Predicting pixel #33 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #34 in lyon for 2017-01-31 with trivial\n",
"Predicting pixel #35 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #36 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #37 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #38 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #39 in lyon for 2017-01-31 with trivial\n",
"Predicting pixel #40 in lyon for 2016-09-16 with trivial\n",
"Predicting pixel #41 in lyon for 2016-08-19 with trivial\n",
"Predicting pixel #42 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #43 in lyon for 2017-01-30 with trivial\n",
"Predicting pixel #44 in lyon for 2017-01-31 with trivial\n",
"Predicting pixel #45 in lyon for 2017-01-28 with trivial\n",
"Predicting pixel #46 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #47 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #48 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #49 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #50 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #51 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #52 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #53 in lyon for 2016-10-15 with trivial\n",
"Predicting pixel #55 in lyon for 2017-01-31 with trivial\n",
"Predicting pixel #56 in lyon for 2016-08-25 with trivial\n",
"Predicting pixel #57 in lyon for 2016-06-29 with trivial\n",
"Predicting pixel #58 in lyon for 2017-01-31 with trivial\n",
"Predicting pixel #59 in lyon for 2017-01-30 with trivial\n",
"Predicting pixel #61 in lyon for 2016-07-19 with trivial\n"
]
}
],
"source": [
"!umd tactical-forecasts lyon 707 60 8"
]
},
{
"cell_type": "code",
"execution_count": 14,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Parameters: city=\"lyon\", grid.side_length=1000, time_step=60, train_horizon=8\n",
"Predicting pixel #63 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #64 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #65 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #66 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #67 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #68 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #69 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #70 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #71 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #72 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #73 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #74 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #75 in lyon for 2017-01-30 with trivial\n",
"Predicting pixel #76 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #77 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #78 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #79 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #80 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #81 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #82 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #83 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #84 in lyon for 2017-01-31 with trivial\n",
"Predicting pixel #85 in lyon for 2016-08-25 with trivial\n",
"Predicting pixel #86 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #87 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #88 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #89 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #90 in lyon for 2017-01-31 with trivial\n",
"Predicting pixel #91 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #92 in lyon for 2017-01-31 with trivial\n",
"Predicting pixel #93 in lyon for 2017-01-30 with trivial\n",
"Predicting pixel #94 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #95 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #96 in lyon for 2016-12-22 with trivial\n",
"Predicting pixel #97 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #98 in lyon for 2016-10-15 with trivial\n",
"Predicting pixel #99 in lyon for 2016-08-25 with trivial\n"
]
}
],
"source": [
"!umd tactical-forecasts lyon 1000 60 8"
]
},
{
"cell_type": "code",
"execution_count": 15,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Parameters: city=\"lyon\", grid.side_length=1414, time_step=60, train_horizon=8\n",
"Predicting pixel #101 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #102 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #103 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #104 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #105 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #106 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #107 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #108 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #109 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #110 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #111 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #112 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #113 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #114 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #115 in lyon for 2017-01-30 with hsma\n",
"Predicting pixel #116 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #117 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #118 in lyon for 2016-08-25 with trivial\n",
"Predicting pixel #119 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #120 in lyon for 2017-01-31 with hets\n",
"Predicting pixel #121 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #122 in lyon for 2017-01-31 with hsma\n",
"Predicting pixel #123 in lyon for 2016-08-25 with trivial\n"
]
}
],
"source": [
"!umd tactical-forecasts lyon 1414 60 8"
]
},
{
"cell_type": "code",
"execution_count": 16,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Parameters: city=\"paris\", grid.side_length=707, time_step=60, train_horizon=7\n",
"Predicting pixel #125 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #126 in paris for 2017-01-31 with hets\n",
"Predicting pixel #127 in paris for 2017-01-31 with hets\n",
"Predicting pixel #128 in paris for 2017-01-31 with hets\n",
"Predicting pixel #129 in paris for 2017-01-31 with hets\n",
"Predicting pixel #130 in paris for 2017-01-31 with hets\n",
"Predicting pixel #131 in paris for 2017-01-31 with hets\n",
"Predicting pixel #132 in paris for 2017-01-31 with hets\n",
"Predicting pixel #133 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #134 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #135 in paris for 2017-01-31 with hets\n",
"Predicting pixel #136 in paris for 2017-01-31 with hets\n",
"Predicting pixel #137 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #138 in paris for 2017-01-31 with hets\n",
"Predicting pixel #139 in paris for 2017-01-31 with hets\n",
"Predicting pixel #140 in paris for 2017-01-31 with hets\n",
"Predicting pixel #141 in paris for 2017-01-31 with hets\n",
"Predicting pixel #142 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #143 in paris for 2017-01-31 with hets\n",
"Predicting pixel #144 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #145 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #146 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #147 in paris for 2017-01-31 with hets\n",
"Predicting pixel #148 in paris for 2017-01-31 with hets\n",
"Predicting pixel #149 in paris for 2017-01-31 with hets\n",
"Predicting pixel #150 in paris for 2016-09-08 with trivial\n",
"Predicting pixel #151 in paris for 2017-01-31 with hets\n",
"Predicting pixel #152 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #153 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #154 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #155 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #156 in paris for 2017-01-31 with hets\n",
"Predicting pixel #157 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #158 in paris for 2017-01-31 with hets\n",
"Predicting pixel #159 in paris for 2017-01-31 with hets\n",
"Predicting pixel #160 in paris for 2017-01-31 with hets\n",
"Predicting pixel #161 in paris for 2017-01-08 with trivial\n",
"Predicting pixel #162 in paris for 2017-01-31 with hets\n",
"Predicting pixel #163 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #164 in paris for 2017-01-24 with trivial\n",
"Predicting pixel #165 in paris for 2017-01-25 with hsma\n",
"Predicting pixel #166 in paris for 2017-01-31 with hets\n",
"Predicting pixel #167 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #168 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #169 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #170 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #171 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #172 in paris for 2017-01-19 with trivial\n",
"Predicting pixel #173 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #174 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #175 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #176 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #177 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #178 in paris for 2017-01-31 with hets\n",
"Predicting pixel #179 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #180 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #181 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #182 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #183 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #184 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #185 in paris for 2017-01-31 with hets\n",
"Predicting pixel #186 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #187 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #188 in paris for 2017-01-31 with hets\n",
"Predicting pixel #189 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #190 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #191 in paris for 2016-06-02 with trivial\n",
"Predicting pixel #192 in paris for 2016-06-18 with trivial\n",
"Predicting pixel #193 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #194 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #195 in paris for 2017-01-31 with hets\n",
"Predicting pixel #196 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #197 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #198 in paris for 2017-01-31 with hets\n",
"Predicting pixel #199 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #200 in paris for 2017-01-31 with hets\n",
"Predicting pixel #201 in paris for 2017-01-28 with trivial\n",
"Predicting pixel #202 in paris for 2017-01-31 with hets\n",
"Predicting pixel #203 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #204 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #205 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #206 in paris for 2017-01-20 with trivial\n",
"Predicting pixel #207 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #208 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #209 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #210 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #211 in paris for 2017-01-31 with hets\n",
"Predicting pixel #212 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #213 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #214 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #215 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #216 in paris for 2017-01-31 with hets\n",
"Predicting pixel #217 in paris for 2017-01-27 with trivial\n",
"Predicting pixel #218 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #219 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #220 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #221 in paris for 2016-08-23 with trivial\n",
"Predicting pixel #222 in paris for 2017-01-27 with trivial\n",
"Predicting pixel #223 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #224 in paris for 2017-01-31 with hets\n",
"Predicting pixel #225 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #226 in paris for 2017-01-22 with trivial\n",
"Predicting pixel #227 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #228 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #230 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #231 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #232 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #233 in paris for 2017-01-29 with trivial\n",
"Predicting pixel #234 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #235 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #236 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #237 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #238 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #239 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #240 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #241 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #242 in paris for 2017-01-31 with hets\n",
"Predicting pixel #244 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #247 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #248 in paris for 2017-01-31 with hets\n",
"Predicting pixel #249 in paris for 2017-01-28 with trivial\n",
"Predicting pixel #250 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #251 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #252 in paris for 2017-01-20 with trivial\n",
"Predicting pixel #253 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #254 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #255 in paris for 2017-01-30 with hsma\n",
"Predicting pixel #256 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #257 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #258 in paris for 2017-01-28 with trivial\n",
"Predicting pixel #259 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #260 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #261 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #262 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #263 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #264 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #265 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #266 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #267 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #268 in paris for 2017-01-30 with hsma\n",
"Predicting pixel #269 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #270 in paris for 2016-12-11 with trivial\n",
"Predicting pixel #271 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #272 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #273 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #274 in paris for 2016-12-09 with trivial\n",
"Predicting pixel #275 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #276 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #277 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #278 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #279 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #280 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #281 in paris for 2017-01-20 with trivial\n",
"Predicting pixel #282 in paris for 2017-01-28 with trivial\n",
"Predicting pixel #283 in paris for 2017-01-27 with trivial\n",
"Predicting pixel #284 in paris for 2017-01-30 with hsma\n",
"Predicting pixel #285 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #286 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #287 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #288 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #289 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #291 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #292 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #293 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #294 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #295 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #296 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #297 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #298 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #299 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #300 in paris for 2017-01-28 with trivial\n",
"Predicting pixel #301 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #302 in paris for 2017-01-29 with trivial\n",
"Predicting pixel #303 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #304 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #305 in paris for 2016-12-01 with trivial\n",
"Predicting pixel #306 in paris for 2017-01-26 with trivial\n",
"Predicting pixel #307 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #308 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #309 in paris for 2017-01-28 with trivial\n",
"Predicting pixel #310 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #311 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #312 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #313 in paris for 2016-05-09 with trivial\n",
"Predicting pixel #314 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #316 in paris for 2017-01-06 with trivial\n",
"Predicting pixel #317 in paris for 2016-07-03 with trivial\n",
"Predicting pixel #318 in paris for 2016-06-13 with trivial\n",
"Predicting pixel #319 in paris for 2016-11-11 with trivial\n",
"Predicting pixel #320 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #321 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #322 in paris for 2017-01-28 with trivial\n"
]
}
],
"source": [
"!umd tactical-forecasts paris 707 60 7"
]
},
{
"cell_type": "code",
"execution_count": 17,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Parameters: city=\"paris\", grid.side_length=1000, time_step=60, train_horizon=7\n",
"Predicting pixel #324 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #325 in paris for 2017-01-31 with hets\n",
"Predicting pixel #326 in paris for 2017-01-31 with hets\n",
"Predicting pixel #327 in paris for 2017-01-31 with hets\n",
"Predicting pixel #328 in paris for 2017-01-31 with hets\n",
"Predicting pixel #329 in paris for 2017-01-31 with hets\n",
"Predicting pixel #330 in paris for 2017-01-31 with hets\n",
"Predicting pixel #331 in paris for 2017-01-31 with hets\n",
"Predicting pixel #332 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #333 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #334 in paris for 2017-01-31 with hets\n",
"Predicting pixel #335 in paris for 2017-01-31 with hets\n",
"Predicting pixel #336 in paris for 2017-01-31 with hets\n",
"Predicting pixel #337 in paris for 2017-01-31 with hets\n",
"Predicting pixel #338 in paris for 2017-01-31 with hets\n",
"Predicting pixel #339 in paris for 2017-01-31 with hets\n",
"Predicting pixel #340 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #341 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #342 in paris for 2017-01-31 with hets\n",
"Predicting pixel #343 in paris for 2017-01-31 with hets\n",
"Predicting pixel #344 in paris for 2017-01-31 with hets\n",
"Predicting pixel #345 in paris for 2017-01-31 with hets\n",
"Predicting pixel #346 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #347 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #348 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #349 in paris for 2017-01-31 with hets\n",
"Predicting pixel #350 in paris for 2017-01-31 with hets\n",
"Predicting pixel #351 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #352 in paris for 2017-01-31 with hets\n",
"Predicting pixel #353 in paris for 2017-01-31 with hets\n",
"Predicting pixel #354 in paris for 2017-01-31 with hets\n",
"Predicting pixel #355 in paris for 2017-01-08 with trivial\n",
"Predicting pixel #356 in paris for 2017-01-31 with hets\n",
"Predicting pixel #357 in paris for 2017-01-31 with hets\n",
"Predicting pixel #358 in paris for 2017-01-25 with hsma\n",
"Predicting pixel #359 in paris for 2017-01-31 with hets\n",
"Predicting pixel #360 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #361 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #362 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #363 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #364 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #365 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #366 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #367 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #368 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #369 in paris for 2017-01-31 with hets\n",
"Predicting pixel #370 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #371 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #372 in paris for 2017-01-31 with hets\n",
"Predicting pixel #373 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #374 in paris for 2017-01-31 with hets\n",
"Predicting pixel #375 in paris for 2016-06-02 with trivial\n",
"Predicting pixel #376 in paris for 2017-01-31 with hets\n",
"Predicting pixel #377 in paris for 2017-01-31 with hets\n",
"Predicting pixel #378 in paris for 2017-01-31 with hets\n",
"Predicting pixel #379 in paris for 2017-01-28 with trivial\n",
"Predicting pixel #380 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #381 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #382 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #383 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #384 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #385 in paris for 2017-01-29 with trivial\n",
"Predicting pixel #386 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #387 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #388 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #389 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #390 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #391 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #392 in paris for 2017-01-17 with trivial\n",
"Predicting pixel #393 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #394 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #395 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #396 in paris for 2017-01-31 with hets\n",
"Predicting pixel #397 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #398 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #399 in paris for 2017-01-31 with hets\n",
"Predicting pixel #400 in paris for 2017-01-29 with trivial\n",
"Predicting pixel #401 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #402 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #403 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #404 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #405 in paris for 2017-01-31 with hets\n",
"Predicting pixel #406 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #407 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #410 in paris for 2017-01-28 with trivial\n",
"Predicting pixel #411 in paris for 2017-01-31 with hets\n",
"Predicting pixel #412 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #413 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #414 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #415 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #416 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #417 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #418 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #419 in paris for 2016-06-08 with trivial\n",
"Predicting pixel #420 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #421 in paris for 2017-01-30 with hsma\n",
"Predicting pixel #422 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #423 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #424 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #425 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #426 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #427 in paris for 2017-01-28 with trivial\n",
"Predicting pixel #428 in paris for 2017-01-26 with trivial\n",
"Predicting pixel #429 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #430 in paris for 2016-08-01 with trivial\n",
"Predicting pixel #431 in paris for 2016-07-03 with trivial\n",
"Predicting pixel #432 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #433 in paris for 2016-11-11 with trivial\n",
"Predicting pixel #434 in paris for 2017-01-28 with trivial\n"
]
}
],
"source": [
"!umd tactical-forecasts paris 1000 60 7"
]
},
{
"cell_type": "code",
"execution_count": 18,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Parameters: city=\"paris\", grid.side_length=1414, time_step=60, train_horizon=7\n",
"Predicting pixel #435 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #436 in paris for 2017-01-31 with hets\n",
"Predicting pixel #437 in paris for 2017-01-31 with hets\n",
"Predicting pixel #438 in paris for 2017-01-31 with hets\n",
"Predicting pixel #439 in paris for 2017-01-31 with hets\n",
"Predicting pixel #440 in paris for 2017-01-31 with hets\n",
"Predicting pixel #441 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #442 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #443 in paris for 2017-01-31 with hets\n",
"Predicting pixel #444 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #445 in paris for 2017-01-31 with hets\n",
"Predicting pixel #446 in paris for 2017-01-31 with hets\n",
"Predicting pixel #447 in paris for 2017-01-31 with hets\n",
"Predicting pixel #448 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #449 in paris for 2017-01-31 with hets\n",
"Predicting pixel #450 in paris for 2017-01-31 with hets\n",
"Predicting pixel #451 in paris for 2017-01-31 with hets\n",
"Predicting pixel #452 in paris for 2016-09-08 with trivial\n",
"Predicting pixel #453 in paris for 2017-01-31 with hets\n",
"Predicting pixel #454 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #455 in paris for 2017-01-31 with hets\n",
"Predicting pixel #456 in paris for 2017-01-31 with hets\n",
"Predicting pixel #457 in paris for 2017-01-31 with hets\n",
"Predicting pixel #458 in paris for 2017-01-31 with hets\n",
"Predicting pixel #459 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #460 in paris for 2017-01-31 with hets\n",
"Predicting pixel #461 in paris for 2017-01-31 with hets\n",
"Predicting pixel #462 in paris for 2017-01-31 with hets\n",
"Predicting pixel #463 in paris for 2017-01-31 with hets\n",
"Predicting pixel #464 in paris for 2017-01-31 with hets\n",
"Predicting pixel #465 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #466 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #467 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #468 in paris for 2017-01-31 with hets\n",
"Predicting pixel #469 in paris for 2017-01-31 with hets\n",
"Predicting pixel #470 in paris for 2016-06-02 with trivial\n",
"Predicting pixel #471 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #472 in paris for 2017-01-31 with hets\n",
"Predicting pixel #473 in paris for 2017-01-31 with hets\n",
"Predicting pixel #474 in paris for 2017-01-31 with hets\n",
"Predicting pixel #475 in paris for 2017-01-31 with hets\n",
"Predicting pixel #476 in paris for 2017-01-31 with hets\n",
"Predicting pixel #477 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #478 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #479 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #480 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #481 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #482 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #483 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #484 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #485 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #486 in paris for 2017-01-28 with trivial\n",
"Predicting pixel #487 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #488 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #489 in paris for 2017-01-31 with hets\n",
"Predicting pixel #490 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #491 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #492 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #494 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #495 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #496 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #497 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #498 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #499 in paris for 2016-05-09 with trivial\n",
"Predicting pixel #500 in paris for 2017-01-28 with trivial\n"
]
}
],
"source": [
"!umd tactical-forecasts paris 1414 60 7"
]
},
{
"cell_type": "code",
"execution_count": 19,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Parameters: city=\"paris\", grid.side_length=707, time_step=60, train_horizon=8\n",
"Predicting pixel #125 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #126 in paris for 2017-01-31 with hets\n",
"Predicting pixel #127 in paris for 2017-01-31 with hets\n",
"Predicting pixel #128 in paris for 2017-01-31 with hets\n",
"Predicting pixel #129 in paris for 2017-01-31 with hets\n",
"Predicting pixel #130 in paris for 2017-01-31 with hets\n",
"Predicting pixel #131 in paris for 2017-01-31 with hets\n",
"Predicting pixel #132 in paris for 2017-01-31 with hets\n",
"Predicting pixel #133 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #134 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #135 in paris for 2017-01-31 with hets\n",
"Predicting pixel #136 in paris for 2017-01-31 with hets\n",
"Predicting pixel #137 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #138 in paris for 2017-01-31 with hets\n",
"Predicting pixel #139 in paris for 2017-01-31 with hets\n",
"Predicting pixel #140 in paris for 2017-01-31 with hets\n",
"Predicting pixel #141 in paris for 2017-01-31 with hets\n",
"Predicting pixel #142 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #143 in paris for 2017-01-31 with hets\n",
"Predicting pixel #144 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #145 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #146 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #147 in paris for 2017-01-31 with hets\n",
"Predicting pixel #148 in paris for 2017-01-31 with hets\n",
"Predicting pixel #149 in paris for 2017-01-31 with hets\n",
"Predicting pixel #150 in paris for 2016-09-08 with trivial\n",
"Predicting pixel #151 in paris for 2017-01-31 with hets\n",
"Predicting pixel #152 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #153 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #154 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #155 in paris for 2017-01-31 with hets\n",
"Predicting pixel #156 in paris for 2017-01-31 with hets\n",
"Predicting pixel #157 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #158 in paris for 2017-01-31 with hets\n",
"Predicting pixel #159 in paris for 2017-01-31 with hets\n",
"Predicting pixel #160 in paris for 2017-01-31 with hets\n",
"Predicting pixel #161 in paris for 2017-01-08 with trivial\n",
"Predicting pixel #162 in paris for 2017-01-31 with hets\n",
"Predicting pixel #163 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #164 in paris for 2017-01-24 with trivial\n",
"Predicting pixel #165 in paris for 2017-01-25 with hsma\n",
"Predicting pixel #166 in paris for 2017-01-31 with hets\n",
"Predicting pixel #167 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #168 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #169 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #170 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #171 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #172 in paris for 2017-01-19 with trivial\n",
"Predicting pixel #173 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #174 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #175 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #176 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #177 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #178 in paris for 2017-01-31 with hets\n",
"Predicting pixel #179 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #180 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #181 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #182 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #183 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #184 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #185 in paris for 2017-01-31 with hets\n",
"Predicting pixel #186 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #187 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #188 in paris for 2017-01-31 with hets\n",
"Predicting pixel #189 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #190 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #191 in paris for 2016-06-02 with trivial\n",
"Predicting pixel #192 in paris for 2016-06-18 with trivial\n",
"Predicting pixel #193 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #194 in paris for 2017-01-31 with hets\n",
"Predicting pixel #195 in paris for 2017-01-31 with hets\n",
"Predicting pixel #196 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #197 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #198 in paris for 2017-01-31 with hets\n",
"Predicting pixel #199 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #200 in paris for 2017-01-31 with hets\n",
"Predicting pixel #201 in paris for 2017-01-28 with trivial\n",
"Predicting pixel #202 in paris for 2017-01-31 with hets\n",
"Predicting pixel #203 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #204 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #205 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #206 in paris for 2017-01-20 with trivial\n",
"Predicting pixel #207 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #208 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #209 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #210 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #211 in paris for 2017-01-31 with hets\n",
"Predicting pixel #212 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #213 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #214 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #215 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #216 in paris for 2017-01-31 with hets\n",
"Predicting pixel #217 in paris for 2017-01-27 with trivial\n",
"Predicting pixel #218 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #219 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #220 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #221 in paris for 2016-08-23 with trivial\n",
"Predicting pixel #222 in paris for 2017-01-27 with trivial\n",
"Predicting pixel #223 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #224 in paris for 2017-01-31 with hets\n",
"Predicting pixel #225 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #226 in paris for 2017-01-22 with trivial\n",
"Predicting pixel #227 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #228 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #230 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #231 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #232 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #233 in paris for 2017-01-29 with trivial\n",
"Predicting pixel #234 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #235 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #236 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #237 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #238 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #239 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #240 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #241 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #242 in paris for 2017-01-31 with hets\n",
"Predicting pixel #244 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #247 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #248 in paris for 2017-01-31 with hets\n",
"Predicting pixel #249 in paris for 2017-01-28 with trivial\n",
"Predicting pixel #250 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #251 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #252 in paris for 2017-01-20 with trivial\n",
"Predicting pixel #253 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #254 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #255 in paris for 2017-01-30 with hsma\n",
"Predicting pixel #256 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #257 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #258 in paris for 2017-01-28 with trivial\n",
"Predicting pixel #259 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #260 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #261 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #262 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #263 in paris for 2017-01-31 with hets\n",
"Predicting pixel #264 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #265 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #266 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #267 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #268 in paris for 2017-01-30 with hsma\n",
"Predicting pixel #269 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #270 in paris for 2016-12-11 with trivial\n",
"Predicting pixel #271 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #272 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #273 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #274 in paris for 2016-12-09 with trivial\n",
"Predicting pixel #275 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #276 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #277 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #278 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #279 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #280 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #281 in paris for 2017-01-20 with trivial\n",
"Predicting pixel #282 in paris for 2017-01-28 with trivial\n",
"Predicting pixel #283 in paris for 2017-01-27 with trivial\n",
"Predicting pixel #284 in paris for 2017-01-30 with hsma\n",
"Predicting pixel #285 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #286 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #287 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #288 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #289 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #291 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #292 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #293 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #294 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #295 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #296 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #297 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #298 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #299 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #300 in paris for 2017-01-28 with trivial\n",
"Predicting pixel #301 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #302 in paris for 2017-01-29 with trivial\n",
"Predicting pixel #303 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #304 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #305 in paris for 2016-12-01 with trivial\n",
"Predicting pixel #306 in paris for 2017-01-26 with trivial\n",
"Predicting pixel #307 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #308 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #309 in paris for 2017-01-28 with trivial\n",
"Predicting pixel #310 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #311 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #312 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #313 in paris for 2016-05-09 with trivial\n",
"Predicting pixel #314 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #316 in paris for 2017-01-06 with trivial\n",
"Predicting pixel #317 in paris for 2016-07-03 with trivial\n",
"Predicting pixel #318 in paris for 2016-06-13 with trivial\n",
"Predicting pixel #319 in paris for 2016-11-11 with trivial\n",
"Predicting pixel #320 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #321 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #322 in paris for 2017-01-28 with trivial\n"
]
}
],
"source": [
"!umd tactical-forecasts paris 707 60 8"
]
},
{
"cell_type": "code",
"execution_count": 20,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Parameters: city=\"paris\", grid.side_length=1000, time_step=60, train_horizon=8\n",
"Predicting pixel #324 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #325 in paris for 2017-01-31 with hets\n",
"Predicting pixel #326 in paris for 2017-01-31 with hets\n",
"Predicting pixel #327 in paris for 2017-01-31 with hets\n",
"Predicting pixel #328 in paris for 2017-01-31 with hets\n",
"Predicting pixel #329 in paris for 2017-01-31 with hets\n",
"Predicting pixel #330 in paris for 2017-01-31 with hets\n",
"Predicting pixel #331 in paris for 2017-01-31 with hets\n",
"Predicting pixel #332 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #333 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #334 in paris for 2017-01-31 with hets\n",
"Predicting pixel #335 in paris for 2017-01-31 with hets\n",
"Predicting pixel #336 in paris for 2017-01-31 with hets\n",
"Predicting pixel #337 in paris for 2017-01-31 with hets\n",
"Predicting pixel #338 in paris for 2017-01-31 with hets\n",
"Predicting pixel #339 in paris for 2017-01-31 with hets\n",
"Predicting pixel #340 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #341 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #342 in paris for 2017-01-31 with hets\n",
"Predicting pixel #343 in paris for 2017-01-31 with hets\n",
"Predicting pixel #344 in paris for 2017-01-31 with hets\n",
"Predicting pixel #345 in paris for 2017-01-31 with hets\n",
"Predicting pixel #346 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #347 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #348 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #349 in paris for 2017-01-31 with hets\n",
"Predicting pixel #350 in paris for 2017-01-31 with hets\n",
"Predicting pixel #351 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #352 in paris for 2017-01-31 with hets\n",
"Predicting pixel #353 in paris for 2017-01-31 with hets\n",
"Predicting pixel #354 in paris for 2017-01-31 with hets\n",
"Predicting pixel #355 in paris for 2017-01-08 with trivial\n",
"Predicting pixel #356 in paris for 2017-01-31 with hets\n",
"Predicting pixel #357 in paris for 2017-01-31 with hets\n",
"Predicting pixel #358 in paris for 2017-01-25 with hsma\n",
"Predicting pixel #359 in paris for 2017-01-31 with hets\n",
"Predicting pixel #360 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #361 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #362 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #363 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #364 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #365 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #366 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #367 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #368 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #369 in paris for 2017-01-31 with hets\n",
"Predicting pixel #370 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #371 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #372 in paris for 2017-01-31 with hets\n",
"Predicting pixel #373 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #374 in paris for 2017-01-31 with hets\n",
"Predicting pixel #375 in paris for 2016-06-02 with trivial\n",
"Predicting pixel #376 in paris for 2017-01-31 with hets\n",
"Predicting pixel #377 in paris for 2017-01-31 with hets\n",
"Predicting pixel #378 in paris for 2017-01-31 with hets\n",
"Predicting pixel #379 in paris for 2017-01-28 with trivial\n",
"Predicting pixel #380 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #381 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #382 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #383 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #384 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #385 in paris for 2017-01-29 with trivial\n",
"Predicting pixel #386 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #387 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #388 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #389 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #390 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #391 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #392 in paris for 2017-01-17 with trivial\n",
"Predicting pixel #393 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #394 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #395 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #396 in paris for 2017-01-31 with hets\n",
"Predicting pixel #397 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #398 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #399 in paris for 2017-01-31 with hets\n",
"Predicting pixel #400 in paris for 2017-01-29 with trivial\n",
"Predicting pixel #401 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #402 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #403 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #404 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #405 in paris for 2017-01-31 with hets\n",
"Predicting pixel #406 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #407 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #410 in paris for 2017-01-28 with trivial\n",
"Predicting pixel #411 in paris for 2017-01-31 with hets\n",
"Predicting pixel #412 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #413 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #414 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #415 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #416 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #417 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #418 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #419 in paris for 2016-06-08 with trivial\n",
"Predicting pixel #420 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #421 in paris for 2017-01-30 with hsma\n",
"Predicting pixel #422 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #423 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #424 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #425 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #426 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #427 in paris for 2017-01-28 with trivial\n",
"Predicting pixel #428 in paris for 2017-01-26 with trivial\n",
"Predicting pixel #429 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #430 in paris for 2016-08-01 with trivial\n",
"Predicting pixel #431 in paris for 2016-07-03 with trivial\n",
"Predicting pixel #432 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #433 in paris for 2016-11-11 with trivial\n",
"Predicting pixel #434 in paris for 2017-01-28 with trivial\n"
]
}
],
"source": [
"!umd tactical-forecasts paris 1000 60 8"
]
},
{
"cell_type": "code",
"execution_count": 21,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Parameters: city=\"paris\", grid.side_length=1414, time_step=60, train_horizon=8\n",
"Predicting pixel #435 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #436 in paris for 2017-01-31 with hets\n",
"Predicting pixel #437 in paris for 2017-01-31 with hets\n",
"Predicting pixel #438 in paris for 2017-01-31 with hets\n",
"Predicting pixel #439 in paris for 2017-01-31 with hets\n",
"Predicting pixel #440 in paris for 2017-01-31 with hets\n",
"Predicting pixel #441 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #442 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #443 in paris for 2017-01-31 with hets\n",
"Predicting pixel #444 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #445 in paris for 2017-01-31 with hets\n",
"Predicting pixel #446 in paris for 2017-01-31 with hets\n",
"Predicting pixel #447 in paris for 2017-01-31 with hets\n",
"Predicting pixel #448 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #449 in paris for 2017-01-31 with hets\n",
"Predicting pixel #450 in paris for 2017-01-31 with hets\n",
"Predicting pixel #451 in paris for 2017-01-31 with hets\n",
"Predicting pixel #452 in paris for 2016-09-08 with trivial\n",
"Predicting pixel #453 in paris for 2017-01-31 with hets\n",
"Predicting pixel #454 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #455 in paris for 2017-01-31 with hets\n",
"Predicting pixel #456 in paris for 2017-01-31 with hets\n",
"Predicting pixel #457 in paris for 2017-01-31 with hets\n",
"Predicting pixel #458 in paris for 2017-01-31 with hets\n",
"Predicting pixel #459 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #460 in paris for 2017-01-31 with hets\n",
"Predicting pixel #461 in paris for 2017-01-31 with hets\n",
"Predicting pixel #462 in paris for 2017-01-31 with hets\n",
"Predicting pixel #463 in paris for 2017-01-31 with hets\n",
"Predicting pixel #464 in paris for 2017-01-31 with hets\n",
"Predicting pixel #465 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #466 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #467 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #468 in paris for 2017-01-31 with hets\n",
"Predicting pixel #469 in paris for 2017-01-31 with hets\n",
"Predicting pixel #470 in paris for 2016-06-02 with trivial\n",
"Predicting pixel #471 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #472 in paris for 2017-01-31 with hets\n",
"Predicting pixel #473 in paris for 2017-01-31 with hets\n",
"Predicting pixel #474 in paris for 2017-01-31 with hets\n",
"Predicting pixel #475 in paris for 2017-01-31 with hets\n",
"Predicting pixel #476 in paris for 2017-01-31 with hets\n",
"Predicting pixel #477 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #478 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #479 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #480 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #481 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #482 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #483 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #484 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #485 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #486 in paris for 2017-01-28 with trivial\n",
"Predicting pixel #487 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #488 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #489 in paris for 2017-01-31 with hets\n",
"Predicting pixel #490 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #491 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #492 in paris for 2017-01-30 with trivial\n",
"Predicting pixel #494 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #495 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #496 in paris for 2017-01-31 with hsma\n",
"Predicting pixel #497 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #498 in paris for 2017-01-31 with trivial\n",
"Predicting pixel #499 in paris for 2016-05-09 with trivial\n",
"Predicting pixel #500 in paris for 2017-01-28 with trivial\n"
]
}
],
"source": [
"!umd tactical-forecasts paris 1414 60 8"
]
},
{
"cell_type": "code",
"execution_count": 22,
"metadata": {},
"outputs": [],
"source": [
"%cd -q research"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.6"
}
},
"nbformat": 4,
"nbformat_minor": 4
}