Hyperparameter Tuning with Python
eBook - ePub

Hyperparameter Tuning with Python

Boost your machine learning model's performance via hyperparameter tuning

  1. 306 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Hyperparameter Tuning with Python

Boost your machine learning model's performance via hyperparameter tuning

About this book

Take your machine learning models to the next level by learning how to leverage hyperparameter tuning, allowing you to control the model's finest details

Key Features

  • Gain a deep understanding of how hyperparameter tuning works
  • Explore exhaustive search, heuristic search, and Bayesian and multi-fidelity optimization methods
  • Learn which method should be used to solve a specific situation or problem

Book Description

Hyperparameters are an important element in building useful machine learning models. This book curates numerous hyperparameter tuning methods for Python, one of the most popular coding languages for machine learning. Alongside in-depth explanations of how each method works, you will use a decision map that can help you identify the best tuning method for your requirements.

You'll start with an introduction to hyperparameter tuning and understand why it's important. Next, you'll learn the best methods for hyperparameter tuning for a variety of use cases and specific algorithm types. This book will not only cover the usual grid or random search but also other powerful underdog methods. Individual chapters are also dedicated to the three main groups of hyperparameter tuning methods: exhaustive search, heuristic search, Bayesian optimization, and multi-fidelity optimization. Later, you will learn about top frameworks like Scikit, Hyperopt, Optuna, NNI, and DEAP to implement hyperparameter tuning. Finally, you will cover hyperparameters of popular algorithms and best practices that will help you efficiently tune your hyperparameter.

By the end of this book, you will have the skills you need to take full control over your machine learning models and get the best models for the best results.

What you will learn

  • Discover hyperparameter space and types of hyperparameter distributions
  • Explore manual, grid, and random search, and the pros and cons of each
  • Understand powerful underdog methods along with best practices
  • Explore the hyperparameters of popular algorithms
  • Discover how to tune hyperparameters in different frameworks and libraries
  • Deep dive into top frameworks such as Scikit, Hyperopt, Optuna, NNI, and DEAP
  • Get to grips with best practices that you can apply to your machine learning models right away

Who this book is for

This book is for data scientists and ML engineers who are working with Python and want to further boost their ML model's performance by using the appropriate hyperparameter tuning method. Although a basic understanding of machine learning and how to code in Python is needed, no prior knowledge of hyperparameter tuning in Python is required.

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

Table of contents

  1. Hyperparameter Tuning with Python
  2. Contributors
  3. Preface
  4. Section 1:The Methods
  5. Chapter 1: Evaluating Machine Learning Models
  6. Chapter 2: Introducing Hyperparameter Tuning
  7. Chapter 3: Exploring Exhaustive Search
  8. Chapter 4: Exploring Bayesian Optimization
  9. Chapter 5: Exploring Heuristic Search
  10. Chapter 6: Exploring Multi-Fidelity Optimization
  11. Section 2:The Implementation
  12. Chapter 7: Hyperparameter Tuning via Scikit
  13. Chapter 8: Hyperparameter Tuning via Hyperopt
  14. Chapter 9: Hyperparameter Tuning via Optuna
  15. Chapter 10: Advanced Hyperparameter Tuning with DEAP and Microsoft NNI
  16. Section 3:Putting Things into Practice
  17. Chapter 11: Understanding the Hyperparameters of Popular Algorithms
  18. Chapter 12: Introducing Hyperparameter Tuning Decision Map
  19. Chapter 13: Tracking Hyperparameter Tuning Experiments
  20. Chapter 14: Conclusions and Next Steps
  21. Other Books You May Enjoy

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Hyperparameter Tuning with Python by Louis Owen in PDF and/or ePUB format, as well as other popular books in Computer Science & Artificial Intelligence (AI) & Semantics. We have over one million books available in our catalogue for you to explore.