Logistic Regression

Find the probability of data samples belonging to a specific class with one of the most popular classification algorithms.

Start[missing "en.views.course_landing_page.machine-learning.course_illustration" translation]
Logistic Regression
Lesson 1 of 1
  1. 1

    When an email lands in your inbox, how does your email service know whether it's a real email or spam? This evaluation is made billions of times per day, and one way it can be done is with Logistic...

  2. 2

    With the data from Codecademy University, we want to predict whether each student will pass their final exam. And the first step to making that prediction is to predict the probability of each stud...

  3. 3

    We saw that the output of a Linear Regression model does not provide the probabilities we need to predict whether a student passes the final exam. Step in Logistic Regression! In Logistic Re...

  4. 4

    In Linear Regression we multiply the coefficients of our features by their respective feature values and add the intercept, resulting in our prediction, which can range from -∞ to +∞. In Logistic R...

  5. 5

    How did our Logistic Regression model create the S-shaped curve we previously saw? The answer is the Sigmoid Function. The Sigmoid Function is a special case of the more general _Logistic...

  6. 6

    Now that we understand how a Logistic Regression model makes its probability predictions, what coefficients and intercept should we use in our model to best predict whether a student will pass the ...

  7. 7

    [...] Let's go ahead and break down our log-loss function into two separate parts so it begins to make more sense. Consider the case when a data sample has class [...] , or for our data when a ...

  8. 8

    Many machine learning algorithms, including Logistic Regression, spit out a classification probability as their result. Once we have this probability, we need to make a decision on what class the s...

  9. 9

    Now that you know the inner workings of how Logistic Regression works, let's learn how to easily and quickly create Logistic Regression models with [...] ! [ [...] ](http://scikit-learn.org/stable...

  10. 10

    One of the defining features of Logistic Regression is the interpretability we have from the feature coefficients. How to handle interpreting the coefficients depends on the kind of data you are wo...

  11. 11

    Congratulations! You just learned how a Logistic Regression model works and how to fit one to a dataset. Class is over, and the final exam for Codecademy University's Introductory Machine Learning ...

What you'll create

Portfolio projects that showcase your new skills

Pro Logo

How you'll master it

Stress-test your knowledge with quizzes that help commit syntax to memory

Pro Logo

Logistic Regression

Start[missing "en.views.course_landing_page.machine-learning.course_illustration" translation]