This chapter explains a very important technique often used when training deep networks: regularization. We look at techniques such as the ℓ1 and ℓ2 methods, dropout, and early stopping. You learn how these methods help prevent the problem of overfitting and help you achieve much better results from your models when applied correctly. We look at the mathematics behind the methods and at how to implement them correctly in Python and Keras.
Complex Networks and Overfitting
In the previous chapters, you learned how to build and train complex networks. One of the most ...