In this book, we’ll use deep neural networks to generate a wide range of content, including text, images, shapes, music, and more. I assume you already have a foundational understanding of machine learning (ML) and, in particular, artificial neural networks. In this chapter, I’ll refresh your memory on essential concepts such as loss functions, activation functions, optimizers, and learning rates, which are crucial for developing and training deep neural networks. If you find any gaps in your understanding of these topics, I strongly encourage you to address them before proceeding with the projects in this book. Appendix B provides a summary of the basic skills and concepts needed, including the architecture and training of artificial neural networks.
NOTE
There are plenty of great ML books out there for you to choose from. Examples include Hands-on Machine Learning with Scikit-Learn, Keras, and TensorFlow (2019, O’Reilly) and Machine Learning, Animated (2023, CRC Press). Both books use TensorFlow to create neural networks. If you prefer a book that uses PyTorch, I recommend Deep Learning with PyTorch (2020, Manning Publications).