Specify Model Architecture
Learn about the second step of the Keras workflow; Specifying the model architecture.
We'll cover the following...
We'll cover the following...
Keras model API’s
There are two ways to build a deep learning model in Keras:
1. Sequential API - Simple and easy to use
2. Functional API - Flexible and advanced
📝 Note: We will focus on
Sequentialsince it is an easier way to build the model.
Sequential
The core idea of Sequential API is about arranging the Keras layers in sequential order. Hence the name, “Sequential API”. The API allows the data to flow from one layer to another layer in the given order until the data finally reaches the output layer.
Import the Sequential API:
The Sequential API can be imported from the keras.models API as ...