With a grasp of Flux.jl's core components from the previous chapter, we now turn to the practical application of these elements in building diverse neural network architectures. This chapter guides you through the process of constructing, from the ground up, several widely used types of neural networks.
You will learn to:
MLUtils.jl
for batching and iteration.BSON.jl
) and load them for later inference or continued training.The chapter culminates in a hands-on exercise where you will apply these techniques to build and configure a CNN for an image classification problem, solidifying your understanding of how these architectural components fit together.
3.1 Data Preparation and Preprocessing in Julia
3.2 Handling Datasets: Iterators and Loaders with MLUtils.jl
3.3 Building Multilayer Perceptrons (MLPs)
3.4 Convolutional Neural Networks (CNNs) with Flux
3.5 Recurrent Neural Networks (RNNs) and LSTMs in Flux
3.6 Working with Embeddings for Sequential Data
3.7 Custom Layer Creation in Flux
3.8 Model Serialization: Saving and Loading Flux Models
3.9 Practice: Implementing a CNN for Image Classification
© 2025 ApX Machine Learning