Polynomial and Logistic Regression

2.1. Polynomial and Logistic Regression#

In this lesson we’ll be looking at 2 more machine learning techniques:

  • Polynomial Regression: used for regression (predicting numbers)

  • Logistic Regression: used for classification (predicting categories/classes)

Like with linear regression, the name of the machine learning method is named after the shape the model takes. In linear regression, the model is linear, in polynomial regression the model is a polynomial and in logistic regression the model follows the logistic function.

../../_images/poly_examples.png

We’ll also see that polynomial and logistic regression are closely related to linear regression.

Linear Regression

Regression

Polynomial Regression

Regression

Logistic Regression

Classification