Model Configuration

Configure the Keras model for training.

Chapter Goals:

  • Learn how to configure a Keras model for training.

A. Configuring for training

When it comes to configuring the model for training, Keras shines with its simplicity. A single call to the compile function allows to set up all the training requirements for the model.

The function takes in a single required argument, which is the optimizer to use, e.g. ...