With the foundational concepts of neural networks covered and your environment prepared, this chapter moves into the practical construction of models using Keras. We will cover the core components and methods for defining network architectures.
You'll work with the Sequential API for creating linear stacks of layers and the Functional API for building more intricate model graphs. Key elements like Dense layers, various activation functions (ReLU, Sigmoid, Softmax), and specifying input shapes will be explained and implemented. Techniques for examining and visualizing model structures will also be presented. The chapter concludes with hands-on practice to solidify these techniques by building your first neural network with Keras.
2.1 The Sequential API
2.2 Common Layer Types: Dense
2.3 Activation Functions
2.4 Specifying Input Shape
2.5 The Functional API
2.6 Model Summary and Visualization
2.7 Practice: Building Your First Network with Keras
© 2026 ApX Machine LearningEngineered with