Learn practical skills, build real-world projects, and advance your career
Created 4 years ago
AI for Medicine Course 3 Week 1 lecture notebook
Logistic Regression Model Interpretation
Welcome to this exercise! You'll review how to interpret the coefficients in a logistic regression model.
- The logistic regression is considered a Generalized Linear Model.
- In general, you would employ one of these models to interpret the relationship between variables.
- The logistic regression can be interpreted in terms of the odds and OR (Odds Ratio), which you'll learn about here.
Import Libraries
# Import libraries that you will use in this notebook
import numpy as np
import pandas as pd
from sklearn.linear_model import LogisticRegression