Skip to main content
HomeR

Course

Machine Learning with Tree-Based Models in R

Intermediate
4.8+
39 reviews
Updated 05/2025
Learn how to use tree-based models and ensembles to make classification and regression predictions with tidymodels.
Start Course for Free

Included withPremium or Teams

RMachine Learning4 hours16 videos58 Exercises4,850 XP8,810Statement 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

Tree-based machine learning models can reveal complex non-linear relationships in data and often dominate machine learning competitions. In this course, you'll use the tidymodels package to explore and build different tree-based models—from simple decision trees to complex random forests. You’ll also learn to use boosted trees, a powerful machine learning technique that uses ensemble learning to build high-performing predictive models. Along the way, you'll work with health and credit risk data to predict the incidence of diabetes and customer churn.

Prerequisites

Modeling with tidymodels in R
1

Classification Trees

Start Chapter
2

Regression Trees and Cross-Validation

Start Chapter
3

Hyperparameters and Ensemble Models

Start Chapter
4

Boosted Trees

Start Chapter
Machine Learning with Tree-Based Models in R
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 39 reviews
90%
10%
0%
0%
0%
  • Junchi
    about 11 hours

  • Jiwon
    2 days

  • Andrew
    3 days

  • Richa
    3 days

  • Jiayu
    3 days

  • al
    3 days

Junchi

Jiwon

Andrew

Join over 16 million learners and start Machine Learning with Tree-Based Models in R 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.