Skip to main content
HomePythonLinear Classifiers in Python

Linear Classifiers in Python

4.1+
30 reviews
Intermediate

In this course you will learn the details of linear classifiers like logistic regression and SVM.

Start Course for Free
4 hours13 videos44 exercises
55,510 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

In this course you'll learn all about using linear classifiers, specifically logistic regression and support vector machines, with scikit-learn. Once you've learned how to apply these methods, you'll dive into the ideas behind them and find out what really makes them tick. At the end of this course you'll know how to train, test, and tune these linear classifiers in Python. You'll also have a conceptual foundation for understanding many other machine learning algorithms.
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

Machine Learning Scientist in Python

Go To Track

Supervised Machine Learning in Python

Go To Track
  1. 1

    Applying logistic regression and SVM

    Free

    In this chapter you will learn the basics of applying logistic regression and support vector machines (SVMs) to classification problems. You'll use the scikit-learn library to fit classification models to real data.

    Play Chapter Now
    scikit-learn refresher
    50 xp
    KNN classification
    100 xp
    Comparing models
    50 xp
    Overfitting
    50 xp
    Applying logistic regression and SVM
    50 xp
    Running LogisticRegression and SVC
    100 xp
    Sentiment analysis for movie reviews
    100 xp
    Linear classifiers
    50 xp
    Which decision boundary is linear?
    50 xp
    Visualizing decision boundaries
    100 xp
  2. 4

    Support Vector Machines

    In this chapter you will learn all about the details of support vector machines. You'll learn about tuning hyperparameters for these models and using kernels to fit non-linear decision boundaries.

    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

Machine Learning Scientist in Python

Go To Track

Supervised Machine Learning in Python

Go To Track

collaborators

Collaborator's avatar
Nick Solomon
Collaborator's avatar
Kara Woo

audio recorded by

Mike Gelbart's avatar
Mike Gelbart

prerequisites

Supervised Learning with scikit-learn
Mike Gelbart HeadshotMike Gelbart

Instructor, the University of British Columbia

See More

Don’t just take our word for it

*4.1
from 30 reviews
63%
7%
17%
7%
7%
Sort by
  • Shing L.
    2 months

    More material on the background on regulation and different hyperparameter is beneficial

  • Li D.
    3 months

    Great course

  • YUN S.
    6 months

    Well organized to understand the Linear Classifiers with classification and regress models. I might be better to move multi-class logistic regression to the last chapter after the SVM chapter

  • Sue D.
    8 months

    The course is fascinating, and the instructor is stunning!

  • Alison N.
    11 months

    None

"More material on the background on regulation and different hyperparameter is beneficial"

Shing L.

"Great course"

Li D.

"Well organized to understand the Linear Classifiers with classification and regress models. I might be better to move multi-class logistic regression to the last chapter after the SVM chapter"

YUN S.

Join over 14 million learners and start Linear Classifiers in Python 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.