Hands-On Gradient Boosting with XGBoost and scikit-learn

£31.99

Hands-On Gradient Boosting with XGBoost and scikit-learn

Perform accessible machine learning and extreme gradient boosting with Python

Mathematical and statistical software Mathematical theory of computation Machine learning Neural networks and fuzzy systems

Author: Corey Wade

Dinosaur mascot

Language: English

Published by: Packt Publishing

Published on: 16th October 2020

Format: LCP-protected ePub

Size: 310 pages

ISBN: 9781839213809


Get to grips with building robust XGBoost models using Python and scikit-learn for deployment

Key Features

Get up and running with machine learning and understand how to boost models with XGBoost in no time

Build real-world machine learning pipelines and fine-tune hyperparameters to achieve optimal results

Discover tips and tricks and gain innovative insights from XGBoost Kaggle winners

Book Description

XGBoost is an industry-proven, open-source software library that provides a gradient boosting framework for scaling billions of data points quickly and efficiently.

The book introduces machine learning and XGBoost in scikit-learn before building up to the theory behind gradient boosting. You’ll cover decision trees and analyze bagging in the machine learning context, learning hyperparameters that extend to XGBoost along the way. You’ll build gradient boosting models from scratch and extend gradient boosting to big data while recognizing speed limitations using timers. Details in XGBoost are explored with a focus on speed enhancements and deriving parameters mathematically. With the help of detailed case studies, you’ll practice building and fine-tuning XGBoost classifiers and regressors using scikit-learn and the original Python API. You''ll leverage XGBoost hyperparameters to improve scores, correct missing values, scale imbalanced datasets, and fine-tune alternative base learners. Finally, you''ll apply advanced XGBoost techniques like building non-correlated ensembles, stacking models, and preparing models for industry deployment using sparse matrices, customized transformers, and pipelines.

By the end of the book, you’ll be able to build high-performing machine learning models using XGBoost with minimal errors and maximum speed.

What you will learn

Build gradient boosting models from scratch

Develop XGBoost regressors and classifiers with accuracy and speed

Analyze variance and bias in terms of fine-tuning XGBoost hyperparameters

Automatically correct missing values and scale imbalanced data

Apply alternative base learners like dart, linear models, and XGBoost random forests

Customize transformers and pipelines to deploy XGBoost models

Build non-correlated ensembles and stack XGBoost models to increase accuracy

Who this book is for

This book is for data science professionals and enthusiasts, data analysts, and developers who want to build fast and accurate machine learning models that scale with big data. Proficiency in Python, along with a basic understanding of linear algebra, will help you to get the most out of this book.

Show moreShow less