Amazon ML uses a linear regression model for regression, binary, and multiclass predictions. Using the **logistic regression** model extends continuous regression to classification problems.

A simple regression model with one predictor is modeled as follows:

Here, *x* is the predictor, *y* is the outcome, and (a, b) are the model parameters. Each predicted value *y* is continuous and not bounded. How can we use that model to predict classes which are by definition categorical values?

Take the example of binary predictions. The method is to transform the continuous predictions that are not ...