Skip to content
M.U.N.U.O.Data × AI × Systems

Machine Learning Foundations

Logistic Regression and Classification

Module 5 of 10

Learning objectives

  • Explain the ideas behind logistic regression and classification.
  • Apply the ideas to the example and identify how you would check the result.

Concepts

Logistic regression transforms a linear score into a probability with a sigmoid. A separate decision threshold converts scores to labels. Choose that threshold on validation data based on the costs of errors.

Practical example

Send risky transactions for human review. Test how many false alarms result when you lower the threshold.

Try the exercise
  1. Define the task. Send risky transactions for human review. Test how many false alarms result when you lower the threshold.
  2. Identify the key idea. Logistic regression transforms a linear score into a probability with a sigmoid.
  3. Check your decision. Describe an alternative and how you would compare its results.
Open the interactive lab

Knowledge check

What does the sigmoid produce?

What changes when you lower the threshold?

Why consider the cost of false positives?