Bayesian Optimization in Action (Paperback)

Bayesian Optimization in Action By Quan Nguyen Cover Image

Bayesian Optimization in Action (Paperback)


Not On Our Shelves—Ships in 1-5 Days
Bayesian optimization helps pinpoint the best configuration for your machine learning models with speed and accuracy. Put its advanced techniques into practice with this hands-on guide.

In Bayesian Optimization in Action you will learn how to:

  • Train Gaussian processes on both sparse and large data sets
  • Combine Gaussian processes with deep neural networks to make them flexible and expressive
  • Find the most successful strategies for hyperparameter tuning
  • Navigate a search space and identify high-performing regions
  • Apply Bayesian optimization to cost-constrained, multi-objective, and preference optimization
  • Implement Bayesian optimization with PyTorch, GPyTorch, and BoTorch

Bayesian Optimization in Action shows you how to optimize hyperparameter tuning, A/B testing, and other aspects of the machine learning process by applying cutting-edge Bayesian techniques. Using clear language, illustrations, and concrete examples, this book proves that Bayesian optimization doesn’t have to be difficult! You’ll get in-depth insights into how Bayesian optimization works and learn how to implement it with cutting-edge Python libraries. The book’s easy-to-reuse code samples let you hit the ground running by plugging them straight into your own projects.

Forewords by Luis Serrano and David Sweet.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the technology

In machine learning, optimization is about achieving the best predictions—shortest delivery routes, perfect price points, most accurate recommendations—in the fewest number of steps. Bayesian optimization uses the mathematics of probability to fine-tune ML functions, algorithms, and hyperparameters efficiently when traditional methods are too slow or expensive.

About the book

Bayesian Optimization in Action teaches you how to create efficient machine learning processes using a Bayesian approach. In it, you’ll explore practical techniques for training large datasets, hyperparameter tuning, and navigating complex search spaces. This interesting book includes engaging illustrations and fun examples like perfecting coffee sweetness, predicting weather, and even debunking psychic claims. You’ll learn how to navigate multi-objective scenarios, account for decision costs, and tackle pairwise comparisons.

What's inside

  • Gaussian processes for sparse and large datasets
  • Strategies for hyperparameter tuning
  • Identify high-performing regions
  • Examples in PyTorch, GPyTorch, and BoTorch

About the reader
For machine learning practitioners who are confident in math and statistics.

About the author
Quan Nguyen is a research assistant at Washington University in St. Louis. He writes for the Python Software Foundation and has authored several books on Python programming.

Table of Contents

1 Introduction to Bayesian optimization
2 Gaussian processes as distributions over functions
3 Customizing a Gaussian process with the mean and covariance functions
4 Refining the best result with improvement-based policies
5 Exploring the search space with bandit-style policies
6 Leveraging information theory with entropy-based policies
7 Maximizing throughput with batch optimization
8 Satisfying extra constraints with constrained optimization
9 Balancing utility and cost with multifidelity optimization
10 Learning from pairwise comparisons with preference optimization
11 Optimizing multiple objectives at the same time
12 Scaling Gaussian processes to large datasets
13 Combining Gaussian processes with neural networks
Quan Nguyen is a Python programmer and machine learning enthusiast. He is interested in solving decision-making problems that involve uncertainty. Quan has authored several books on Python programming and scientific computing. He is currently pursuing a Ph.D. degree in computer science at Washington University in St. Louis where he does research on Bayesian methods in machine learning.
Product Details ISBN: 9781633439078
ISBN-10: 1633439070
Publisher: Manning
Publication Date: November 14th, 2023
Pages: 424
Language: English
Series: In Action