Skip to main content
HomePython

Course

Machine Learning with Tree-Based Models in Python

IntermediateSkill Level
4.8+
228 reviews
Updated 08/2024
In this course, you'll learn how to use tree-based models and ensembles for regression and classification using scikit-learn.
Start Course for Free

Included withPremium or Teams

PythonMachine Learning5 hr15 videos57 Exercises4,650 XP103,414Statement of Accomplishment

Create Your Free Account

or

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

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies

Course Description

Decision trees are supervised learning models used for problems involving classification and regression. Tree models present a high flexibility that comes at a price: on one hand, trees are able to capture complex non-linear relationships; on the other hand, they are prone to memorizing the noise present in a dataset. By aggregating the predictions of trees that are trained differently, ensemble methods take advantage of the flexibility of trees while reducing their tendency to memorize noise. Ensemble methods are used across a variety of fields and have a proven track record of winning many machine learning competitions. In this course, you'll learn how to use Python to train decision trees and tree-based models with the user-friendly scikit-learn machine learning library. You'll understand the advantages and shortcomings of trees and demonstrate how ensembling can alleviate these shortcomings, all while practicing on real-world datasets. Finally, you'll also understand how to tune the most influential hyperparameters in order to get the most out of your models.

Prerequisites

Supervised Learning with scikit-learn
1

Classification and Regression Trees

Start Chapter
2

The Bias-Variance Tradeoff

Start Chapter
3

Bagging and Random Forests

Start Chapter
4

Boosting

Start Chapter
5

Model Tuning

Start Chapter
Machine Learning with Tree-Based Models in Python
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review

Included withPremium or Teams

Enroll Now

Don’t just take our word for it

*4.8
from 228 reviews
87%
13%
0%
0%
0%
  • Christoph
    about 2 hours

  • Santiago Yael
    about 18 hours

  • boran
    about 20 hours

  • Sadam
    1 day

    Nicely done, In general datacamp courses offer good hands on experience but lack conceptual detail.

  • Kaitlyn
    2 days

  • Maxwell
    2 days

Christoph

Santiago Yael

Kaitlyn

FAQs

Join over 17 million learners and start Machine Learning with Tree-Based Models in Python today!

Create Your Free Account

or

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