...

/

Logistic Regression Predictions Using Sigmoid

Logistic Regression Predictions Using Sigmoid

Learn how the logistic regression coefficients are utilized for the predictions.

From Logistic Regression coefficients to predictions using sigmoid

Before the next exercise, let’s take a look at how the coefficients for logistic regression are used to calculate predicted probabilities, and ultimately make predictions for the class of the response variable.

Recall that logistic regression predicts the probability of class membership, according to the sigmoid equation. In the case of two features with an intercept, the equation is as follows:

p=11+e−(θ0+θ1X1+θ2X2)p = \frac{1}{1+e^{-(θ_0 + θ_1X_1 + θ_2X_2)}} ...

Access this course and 1400+ top-rated courses and projects.