Skip to main content

Modeling with tidymodels in R

Learn to streamline your machine learning workflows with tidymodels.

Start Course for Free
4 Hours16 Videos59 Exercises3,092 Learners
4950 XP

Create Your Free Account



By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).

Loved by learners at thousands of companies

Course Description

Tidymodels is a powerful suite of R packages designed to streamline machine learning workflows. Learn to split datasets for cross-validation, preprocess data with tidymodels' recipe package, and fine-tune machine learning algorithms. You'll learn key concepts such as defining model objects and creating modeling workflows. Then, you'll apply your skills to predict home prices and classify employees by their risk of leaving a company.

  1. 1

    Machine Learning with tidymodels


    In this chapter, you’ll explore the rich ecosystem of R packages that power tidymodels and learn how they can streamline your machine learning workflows. You’ll then put your tidymodels skills to the test by predicting house sale prices in Seattle, Washington.

    Play Chapter Now
    The tidymodels ecosystem
    50 xp
    Tidymodels packages
    100 xp
    Creating training and test datasets
    100 xp
    Distribution of outcome variable values
    100 xp
    Linear regression with tidymodels
    50 xp
    Fitting a linear regression model
    100 xp
    Exploring estimated model parameters
    50 xp
    Predicting home selling prices
    100 xp
    Evaluating model performance
    50 xp
    Model performance metrics
    100 xp
    R squared plot
    100 xp
    Complete model fitting process with last_fit()
    100 xp

In the following tracks

Machine Learning FundamentalsMachine Learning ScientistSupervised Machine Learning


Maggie Matsui
David Svancer Headshot

David Svancer

Data Scientist

David is a data scientist in the Washington D.C. area where he helps organizations leverage data science and machine learning to solve complex business problems and build data products. He is also an adjunct professor of Business Analytics in the Graduate School of Business at George Mason University where he teaches courses focused on applied statistics, data analysis, machine learning, and database design.
See More

What do other learners have to say?

I've used other sites—Coursera, Udacity, things like that—but DataCamp's been the one that I've stuck with.

Devon Edwards Joseph
Lloyds Banking Group

DataCamp is the top resource I recommend for learning data science.

Louis Maiden
Harvard Business School

DataCamp is by far my favorite website to learn from.

Ronald Bowers
Decision Science Analytics, USAA