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

Getting started with LightGBM in Python

LightGBM is implemented in C++ but has official C, R, and Python APIs. This section discusses the Python APIs that are available for working with LightGBM. LightGBM provides three Python APIs: the standard LightGBM API, the scikit-learn API (which is fully compatible with other scikit-learn functionality), and a Dask API for working with Dask. Dask is a parallel computing library discussed in Chapter 11, Distributed and GPU-Based Learning with LightGBM (https://www.dask.org/).

Throughout the rest of the book, we mainly use the scikit-learn API for LightGBM, but let’s first look at the standard Python API.

LightGBM Python API

The best way to dive into the Python API is with a hands-on example. The following are excerpts from a code listing that illustrates the use of the LightGBM Python API. The complete code example is available at https://github.com/PacktPublishing/Practical-Machine-Learning-with-LightGBM-and-Python/tree/main...

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