Skip to main content
HomePythonExtreme Gradient Boosting with XGBoost

Extreme Gradient Boosting with XGBoost

4.2+
33 reviews
Intermediate

Learn the fundamentals of gradient boosting and build state-of-the-art machine learning models using XGBoost to solve classification and regression problems.

Start Course for Free
4 hours16 videos49 exercises
51,776 learnersTrophyStatement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
GroupTraining 2 or more people?Try DataCamp For Business

Loved by learners at thousands of companies


Course Description

Do you know the basics of supervised learning and want to use state-of-the-art models on real-world datasets? Gradient boosting is currently one of the most popular techniques for efficient modeling of tabular datasets of all sizes. XGboost is a very fast, scalable implementation of gradient boosting, with models using XGBoost regularly winning online data science competitions and being used at scale across different industries. In this course, you'll learn how to use this powerful library alongside pandas and scikit-learn to build and tune supervised learning models. You'll work with real-world datasets to solve classification and regression problems.
For Business

GroupTraining 2 or more people?

Get your team access to the full DataCamp library, with centralized reporting, assignments, projects and more
Try DataCamp for BusinessFor a bespoke solution book a demo.

In the following Tracks

Machine Learning Scientist in Python

Go To Track

Supervised Machine Learning in Python

Go To Track
  1. 1

    Classification with XGBoost

    Free

    This chapter will introduce you to the fundamental idea behind XGBoost—boosted learners. Once you understand how XGBoost works, you'll apply it to solve a common classification problem found in industry: predicting whether a customer will stop being a customer at some point in the future.

    Play Chapter Now
    Welcome to the course!
    50 xp
    Which of these is a classification problem?
    50 xp
    Which of these is a binary classification problem?
    50 xp
    Introducing XGBoost
    50 xp
    XGBoost: Fit/Predict
    100 xp
    What is a decision tree?
    50 xp
    Decision trees
    100 xp
    What is Boosting?
    50 xp
    Measuring accuracy
    100 xp
    Measuring AUC
    100 xp
    When should I use XGBoost?
    50 xp
    Using XGBoost
    50 xp
  2. 2

    Regression with XGBoost

    After a brief review of supervised regression, you'll apply XGBoost to the regression task of predicting house prices in Ames, Iowa. You'll learn about the two kinds of base learners that XGboost can use as its weak learners, and review how to evaluate the quality of your regression models.

    Play Chapter Now
For Business

GroupTraining 2 or more people?

Get your team access to the full DataCamp library, with centralized reporting, assignments, projects and more

In the following Tracks

Machine Learning Scientist in Python

Go To Track

Supervised Machine Learning in Python

Go To Track

datasets

Ames housing prices (preprocessed)Ames housing prices (original)Chronic kidney disease

collaborators

Collaborator's avatar
Hugo Bowne-Anderson
Collaborator's avatar
Yashas Roy
Sergey Fogelson HeadshotSergey Fogelson

Head of Data Science, TelevisaUnivision

I enjoy applying my quantitative skills to large-scale data-intensive problems and mentoring junior colleagues. I am also an avid learner and am always trying to refine my programming chops and apply state of the art analytical and statistical methods. In my current role as Head of Data Science at Univision, I build proprietary data products that allow us to efficiently engage with and grow our audience. I also enjoy sharing and communicating what knowledge I have. To that end, and when time permits, I teach data science courses at several NYC area bootcamps/hacker academies/universities. Prior to Univision, I built a state of the art cross-platform media measurement solution at Viacom, automated back office processes using machine learning for clients in the financial industry, and worked at small cybersecurity and digital advertising startups. I obtained my Ph.D. in Cognitive Neuroscience at Dartmouth College.
See More

Don’t just take our word for it

*4.2
from 33 reviews
52%
27%
12%
9%
0%
Sort by
  • Orlando R.
    8 days

    Excellent instructor. He explains a lot of difficult concepts with ease. The examples were great so as the exercises. Highly recommended.

  • Thomas M.
    7 months

    Exzellent!

  • Louis B.
    8 months

    Good coverage of an important topic.

  • Scott C.
    9 months

    I originally was introduced to XGBoost by the Tree based models course with R, and wanted learn additional material about it at a lower levl, and thought the python course would help. I was very satisfied and found the instructor easy to follow.

  • KB M.
    10 months

    This course is superb. I enjoyed every single section of it. The instructor exudes passion and demonstrates a clear understanding of XGB's inner workings.

"Excellent instructor. He explains a lot of difficult concepts with ease. The examples were great so as the exercises. Highly recommended."

Orlando R.

"Exzellent!"

Thomas M.

"Good coverage of an important topic."

Louis B.

Join over 14 million learners and start Extreme Gradient Boosting with XGBoost today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.