Skip to main content
HomeR

Machine Learning with caret in R

4.5+
17 reviews
Advanced

This course teaches the big ideas in machine learning like how to build and evaluate predictive models.

Start Course for Free
4 hours24 videos88 exercises58,083 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.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies


Course Description

Machine learning is the study and application of algorithms that learn from and make predictions on data. From search results to self-driving cars, it has manifested itself in all areas of our lives and is one of the most exciting and fast growing fields of research in the world of data science. This course teaches the big ideas in machine learning: how to build and evaluate predictive models, how to tune them for optimal performance, how to preprocess data for better results, and much more. The popular caret R package, which provides a consistent interface to all of R's most powerful machine learning facilities, is used throughout the course.
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.
DataCamp for BusinessFor a bespoke solution book a demo.

In the following Tracks

Machine Learning Fundamentals in R

Go To Track

Machine Learning Scientist in R

Go To Track
  1. 1

    Regression Models: Fitting and Evaluating Their Performance

    Free

    In the first chapter of this course, you'll fit regression models with train() and evaluate their out-of-sample performance using cross-validation and root-mean-square error (RMSE).

    Play Chapter Now
    Welcome to the course
    50 xp
    In-sample RMSE for linear regression
    50 xp
    In-sample RMSE for linear regression on diamonds
    100 xp
    Out-of-sample error measures
    50 xp
    Out-of-sample RMSE for linear regression
    50 xp
    Randomly order the data frame
    100 xp
    Try an 80/20 split
    100 xp
    Predict on test set
    100 xp
    Calculate test set RMSE by hand
    100 xp
    Comparing out-of-sample RMSE to in-sample RMSE
    50 xp
    Cross-validation
    50 xp
    Advantage of cross-validation
    50 xp
    10-fold cross-validation
    100 xp
    5-fold cross-validation
    100 xp
    5 x 5-fold cross-validation
    100 xp
    Making predictions on new data
    100 xp
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.

In the following Tracks

Machine Learning Fundamentals in R

Go To Track

Machine Learning Scientist in R

Go To Track

datasets

DiamondsSonarWineOverfit dataBreast CancerBlood-brainChurn

collaborators

Collaborator's avatar
Nick Carchedi
Collaborator's avatar
Tom Jeon
Zachary Deane-Mayer HeadshotZachary Deane-Mayer

VP, Data Science at DataRobot

See More
Max Kuhn HeadshotMax Kuhn

Software Engineer at RStudio and creator of caret

Dr. Max Kuhn is a Software Engineer at RStudio. He is the author or maintainer of several R packages for predictive modeling including caret, AppliedPredictiveModeling, Cubist, C50 and SparseLDA. He routinely teaches classes in predictive modeling at Predictive Analytics World and UseR! and his publications include work on neuroscience biomarkers, drug discovery, molecular diagnostics and response surface methodology.
See More

Don’t just take our word for it

*4.5
from 17 reviews
71%
18%
6%
6%
0%
Sort by
  • Lorenzo G.
    10 months

    the best among the modules I had followed since I subscribed data camp

  • Elvis T.
    11 months

    Concepts well explaind and supported by practical examples in R. Beginner will find the course very help. Caret is a great package

  • Emily P.
    about 1 year

    Awesome. Lots of great info.

  • PAUL P.
    about 1 year

    Great course. The explanations are clear.

  • Georgios P.
    about 1 year

    Everything was up to point !

"the best among the modules I had followed since I subscribed data camp"

Lorenzo G.

"Concepts well explaind and supported by practical examples in R. Beginner will find the course very help. Caret is a great package"

Elvis T.

"Awesome. Lots of great info."

Emily P.

Join over 15 million learners and start Machine Learning with caret in R 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.