Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Machine Learning with LightGBM and Python

You're reading from   Machine Learning with LightGBM and Python A practitioner's guide to developing production-ready machine learning systems

Arrow left icon
Product type Paperback
Published in Sep 2023
Publisher Packt
ISBN-13 9781800564749
Length 252 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Andrich van Wyk Andrich van Wyk
Author Profile Icon Andrich van Wyk
Andrich van Wyk
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Part 1: Gradient Boosting and LightGBM Fundamentals
2. Chapter 1: Introducing Machine Learning FREE CHAPTER 3. Chapter 2: Ensemble Learning – Bagging and Boosting 4. Chapter 3: An Overview of LightGBM in Python 5. Chapter 4: Comparing LightGBM, XGBoost, and Deep Learning 6. Part 2: Practical Machine Learning with LightGBM
7. Chapter 5: LightGBM Parameter Optimization with Optuna 8. Chapter 6: Solving Real-World Data Science Problems with LightGBM 9. Chapter 7: AutoML with LightGBM and FLAML 10. Part 3: Production-ready Machine Learning with LightGBM
11. Chapter 8: Machine Learning Pipelines and MLOps with LightGBM 12. Chapter 9: LightGBM MLOps with AWS SageMaker 13. Chapter 10: LightGBM Models with PostgresML 14. Chapter 11: Distributed and GPU-Based Learning with LightGBM 15. Index 16. Other Books You May Enjoy

Summary

This chapter introduced Optuna as a framework for HPO. We discussed the problems of finding optimal hyperparameters and how HPO algorithms may be used to find suitable parameters efficiently.

We discussed two optimization algorithms available in Optuna: TPE and CMA-ES. Both algorithms allow a user to set a specific budget for optimization (the number of trials to perform) and proceed to find suitable parameters within the constraints. Further, we discussed the pruning of unpromising optimization trials to save additional resources and time. Median pruning and the more complex but effective pruning techniques of successive halving and Hyperband were discussed.

We then proceeded to show how to perform HPO studies for LightGBM in a practical example. We also showed advanced features of Optuna that can be used to save and resume studies, understand the effects of parameters, and perform MOO.

The next chapter focuses on two case studies using LightGBM, where the data science...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime