Bayesian Optimization in Action
by: Quan Nguyen (Author)
Publisher finelybook 出版社: Manning (November 14, 2023)
Language 语言: English
Print Length 页数: 424 pages
ISBN-10: 1633439070
ISBN-13: 9781633439078
Book Description
By finelybook
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
PART 1 MODELING WITH GAUSSIAN PROCESSES
2 Gaussian processes as distributions over functions
3 Customizing a Gaussian process with the mean and covariance functions
PART 2 MAKING DECISIONS WITH BAYESIAN OPTIMIZATION
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
PART 3 EXTENDING BAYESIAN OPTIMIZATION TO SPECIALIZED SETTINGS
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
PART 4 SPECIAL GAUSSIAN PROCESS MODELS
12 Scaling Gaussian processes to large datasets
13 Combining Gaussian processes with neural networks
From the Back Cover
Bayesian Optimization in Action teaches you how to build Bayesian Optimisation systems from the ground up. This book transforms state-of-the-art research into usable techniques that you can easily put into practice — all fully illustrated with useful code samples.
You will hone your understanding of Bayesian Optimisation through engaging examples — from forecasting the weather to finding the optimal amount of sugar for coffee and even deciding if someone is psychic! Along the way, you will explore scenarios with multiple objectives, when each decision has its own cost, and when feedback is in the form of pairwise comparisons. With this collection of techniques, you will be ready to find the optimal solution for everything — from transport and logistics to cancer treatments.
About the reader
For machine learning practitioners who are confident in math and statistics.
About the Author
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.Amazon page