Chapter 6: Hyperparameter Tuning

In this chapter, we are going to start by looking at three different hyperparameter tuning algorithms—Hyperband, Bayesian optimization, and random search. These algorithms are implemented in the tf.keras API, which makes them relatively easy to understand. With this API, you now have access to simplified APIs for these complex and advanced algorithms that we will encounter in this chapter. We will learn how to implement these algorithms and use the best hyperparameters we can find to build and train an image classification model. We will also learn the details of its learning process in order to know which hyperparameters to search and optimize. We will start by getting and preparing the data, and then we'll ...

Get Learn TensorFlow Enterprise now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.