Sequential Model

Learn how a neural network is built in Keras.

Chapter Goals:

  • Initialize an MLP model in Keras

A. Building the MLP

In Keras, every neural network model is an instance of the Sequential object. This acts as the container of the neural network, allowing us to build the model by stacking multiple layers inside the Sequential object.

The most commonly used Keras neural network layer is the Dense layer. This represents a ...