Skip to main content
HomePythonSupervised Learning with scikit-learn

Supervised Learning with scikit-learn

4.3+
136 reviews
Intermediate

Grow your machine learning skills with scikit-learn in Python. Use real-world datasets in this interactive course and learn how to make powerful predictions!

Start Course for Free
4 hours15 videos49 exercises
140,445 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

Grow your machine learning skills with scikit-learn and discover how to use this popular Python library to train models using labeled data. In this course, you'll learn how to make powerful predictions, such as whether a customer is will churn from your business, whether an individual has diabetes, and even how to tell classify the genre of a song. Using real-world datasets, you'll find out how to build predictive models, tune their parameters, and determine how well they will perform with unseen data.
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

Certification Available

Associate Data Scientist in Python

Go To Track

Associate AI Engineer for Data Scientists

Go To Track

Machine Learning Fundamentals in Python

Go To Track
  1. 1

    Classification

    Free

    In this chapter, you'll be introduced to classification problems and learn how to solve them using supervised learning techniques. You'll learn how to split data into training and test sets, fit a model, make predictions, and evaluate accuracy. You’ll discover the relationship between model complexity and performance, applying what you learn to a churn dataset, where you will classify the churn status of a telecom company's customers.

    Play Chapter Now
    Machine learning with scikit-learn
    50 xp
    Binary classification
    50 xp
    The supervised learning workflow
    100 xp
    The classification challenge
    50 xp
    k-Nearest Neighbors: Fit
    100 xp
    k-Nearest Neighbors: Predict
    100 xp
    Measuring model performance
    50 xp
    Train/test split + computing accuracy
    100 xp
    Overfitting and underfitting
    100 xp
    Visualizing model complexity
    100 xp
  2. 2

    Regression

    In this chapter, you will be introduced to regression, and build models to predict sales values using a dataset on advertising expenditure. You will learn about the mechanics of linear regression and common performance metrics such as R-squared and root mean squared error. You will perform k-fold cross-validation, and apply regularization to regression models to reduce the risk of overfitting.

    Play Chapter Now
  3. 3

    Fine-Tuning Your Model

    Having trained models, now you will learn how to evaluate them. In this chapter, you will be introduced to several metrics along with a visualization technique for analyzing classification model performance using scikit-learn. You will also learn how to optimize classification and regression models through the use of hyperparameter tuning.

    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

Certification Available

Associate Data Scientist in Python

Go To Track

Associate AI Engineer for Data Scientists

Go To Track

Machine Learning Fundamentals in Python

Go To Track

In other tracks

Machine Learning Scientist in PythonSupervised Machine Learning in Python

datasets

Advertising and SalesDiabetesTelecom ChurnMusic

collaborators

Collaborator's avatar
Amy Peterson
Collaborator's avatar
James Chapman
Collaborator's avatar
Izzy Weber
George Boorman HeadshotGeorge Boorman

Curriculum Manager, DataCamp

George is a Curriculum Manager at DataCamp. He holds a PGDip in Exercise for Health and BSc (Hons) in Sports Science and has experience in project management across public health, applied research, and not-for-profit sectors. George is passionate about sports, tech for good, and all things data science.
See More

Don’t just take our word for it

*4.3
from 136 reviews
63%
16%
18%
3%
0%
Sort by
  • Khalil S.
    5 days

    It's a good course with a focus on implementation. Highly recommend for those who start their machine learning journey.

  • Dragan G.
    22 days

    Great!

  • Yaswanth K.
    29 days

    I think learning is more about doing than watching theory videos, and data camp provided exactly that, it made me do it on my own, I got fair idea on what the sklearn workflow is

  • mohammadali s.
    about 1 month

    It was good

  • Kenny J.
    about 1 month

    Awesome course.. well structured, delivered and the content is top top class. Highly recommended

"It's a good course with a focus on implementation. Highly recommend for those who start their machine learning journey."

Khalil S.

"Great!"

Dragan G.

"I think learning is more about doing than watching theory videos, and data camp provided exactly that, it made me do it on my own, I got fair idea on what the sklearn workflow is"

Yaswanth K.

FAQs

Join over 14 million learners and start Supervised Learning with scikit-learn 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.