Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Interpretable Machine Learning: Linear & Logistic Regression
New
22 students

Interpretable Machine Learning: Linear & Logistic Regression

Master regression coefficients, odds ratios and feature importance to explain what drives your model and each prediction
Created bySoledad Galli
Last updated 10/2026
English
English [Auto],

What you'll learn

  • Explain which features drive your model's predictions, and by how much, using the coefficients of linear and logistic regression
  • Explain why your model made a specific prediction for an individual customer, patient or claim, with a breakdown of each feature's contribution
  • Decide whether you can trust your model and its explanations by testing its fit and each feature's effect, with p-values and significance tests
  • Spot data problems, like correlated features or classes that separate perfectly, that make your model's explanations misleading, and fix them
  • Build simpler models that are easier to explain without losing accuracy, using feature selection and Lasso in Python

Course content

4 sections • 36 lectures • 4h 17m total length
  • Interpretability in machine learning5:59
  • Importance of interpretability8:54
  • Interpretability methods7:44
  • Global and local explanations5:27
  • Challenges to interpretability7:54
  • Making models more interpretable7:37
  • Resources0:44
  • Course material0:29

Requirements

  • You can write basic Python and work with data in pandas
  • You've trained at least one machine learning model with scikit-learn, even a simple one
  • You know what linear and logistic regression are used for. You don't need to know how they work under the hood, because we cover that in the course

Description

Welcome to Interpretable Machine Learning: Linear and Logistic Regression, a focused, practical course on explaining how regression models make their predictions.

Linear and logistic regression are among the most widely used models in industry, and they're often chosen because they're easy to explain. Yet many people read the coefficients without knowing what they really mean, when to trust them, or how to explain a single prediction to someone who asks why the model decided what it did.

We'll start with what interpretability is and why it matters: it builds trust in your models, helps catch bias and unfair decisions, supports regulatory requirements, and can improve performance. You'll learn the difference between explaining a model as a whole and explaining an individual prediction.

Next, we'll look at linear regression. You'll learn how to read the coefficients, how much each feature adds to or subtracts from a prediction, and how to tell whether the model and its coefficients can be trusted.

Then we'll move to logistic regression. You'll learn how to turn its outputs into statements anyone can follow, using odds and odds ratios, and how to judge whether the model fits the data well.


Through clear explanations and Python demonstrations, you'll learn to:

  • Explain which features drive your model's predictions, and by how much

  • Explain why the model made a specific prediction for an individual customer, patient or claim

  • Turn logistic regression coefficients into plain statements using odds and odds ratios

  • Assess whether your model fits the data well, using R², F-tests, deviance and chi-squared tests

  • Decide whether each coefficient can be trusted, using t-tests, Wald tests and confidence intervals

  • Check model assumptions, and recognize when correlated features distort your explanations

  • Spot data problems, like classes that separate perfectly or missing combinations, that make models unreliable

  • Build simpler models that are easier to explain, using Lasso and feature selection

  • Fit and interpret linear and logistic regression with scikit-learn and statsmodels

This course is for data scientists, analysts, machine learning practitioners and technical professionals who need to explain their models' results with confidence, especially in fields like finance, insurance and healthcare, where every prediction has to be justified.

Every concept comes with Python examples that connect the theory to real model interpretation.

A model that's easy to interpret isn't automatically interpreted correctly. Correlated features, unmet assumptions and poor model fit can all lead to misleading conclusions.

By the end of the course, you'll be able to explain what drives your regression models and each of their predictions, and you'll know when those explanations can be trusted and when they can't.

Who this course is for:

  • Data scientists, analysts and machine learning engineers who've been asked why their model made a prediction, and who need to explain the results to managers, clients or regulators with confidence
  • Professionals in finance, insurance, healthcare and other regulated fields who use linear and logistic regression, need to justify every prediction, and want to know how far they can trust the coefficients