Intuitive Understanding of Logistic Regression (python)

Bivariate Example

Andrew Hershy
Towards Data Science
4 min readJun 24, 2019

--

Source: Anne Spratt

A logistic regression is a model used to predict the “either-or” of a target variable. The example we will be working on is:

  • Target variable: Student will pass or fail the exam.
  • Independent variable: Hours spent studying per week

--

--