5 Preparing and building the model

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 ...

Get Deep Learning with Structured Data now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.