Chapter 8: Hyperparameter Tuning via Hyperopt

Hyperopt is an optimization package in Python that provides several implementations of hyperparameter tuning methods, including Random Search, Simulated Annealing (SA), Tree-Structured Parzen Estimators (TPE), and Adaptive TPE (ATPE). It also supports various types of hyperparameters with ranging types of sampling distributions.

In this chapter, we’ll introduce the Hyperopt package, starting with its capabilities and limitations, how to utilize it to perform hyperparameter tuning, and all the other important things you need to know about Hyperopt. We’ll learn not only how to utilize Hyperopt to perform hyperparameter tuning with its default configurations but also discuss the available configurations, ...

Get Hyperparameter Tuning with Python 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.