Building the deployment application
In this section, we introduce a deployment application that predicts the hourly trip counts on one day. We selected to predict the trip counts on July 1, 2018. We perform both static and dynamic deployment as introduced in the following subsections:
- Predicting the trip count in the next hour (static deployment)
- Predicting the trip count in the next 24 hours (dynamic deployment)
Predicting the trip count in the next hour
The goal of this subsection is to predict the demand for taxis in the first hour on July 1, 2018, so at 00:00.
The required seed data for the prediction contains the 24 past values representing the hourly trip counts on June 30, 2018, and in addition, the hour of the day (0
) and the day of the week (1
since July 1, 2008, was a Sunday). We access the seed data already pre-processed as a Parquet file. The workflow containing the static deployment (accessible via https://kni.me/w/wl2B4B5LNvj0Z4K9) is shown in...