To get the most out of this book
You will need a version of Python installed. All the code has been tested with Python 3.10 on Ubuntu 22.04, with CUDA version 12.1. However, it should work with Python 3.9 and later versions, on any OS, and with CUDA version 11 and later.
Software/hardware covered in the book |
OS requirements |
Python 3.9 |
Windows, macOS, or Linux (any) |
For the deep learning chapters, especially from Chapter 8 onward, the use of a Graphics Processing Unit (GPU) is recommended. The code was tested on an Nvidia GeForce RTX 3090 with 24 GB of memory. Depending on your hardware specifications, the code may need to be adjusted accordingly.
Recipes begin from the second chapter. If you are using the digital version of this book, we advise you to type the code yourself or access the code via the GitHub repository (link available in the next section). Doing so will help you avoid any potential errors related to the copying and pasting of code.
Download the example code files
You can download the example code files for this book from GitHub at https://github.com/PacktPublishing/The-Regularization-Cookbook. If there’s an update to the code, it will be updated on the existing GitHub repository.
We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!