This chapter covers
- Revisiting the dataset and determining which features to use to train the model
- Refactoring the dataset to include timeslots when there is no delay
- Transforming the dataset into the format expected by the Keras model
- Building a Keras model automatically based on the structure of the data
- Examining the structure of the model
- Setting parameters, including activation and optimization functions and learning rate
This chapter begins with a quick reexamination of the dataset to consider which columns can legitimately be used to train the model. Then we’ll go over the transformations required to get the data from the format in which we have been manipulating it (Pandas dataframes) to the format expected by the deep learning model. Next, we will go over the code for the model itself and see how the model is built up layer by layer based on the category of the input columns. We wrap up by reviewing methods you can use to examine the structure of the model and the parameters you can use to adjust how the model is trained.