Invasion of the Sigmoids

Learn and explore how sigmoids help when linear regression fails.

Overview of sigmoids

Even though linear regression is not a natural fit for binary classification, that does not mean that we have to scrap our linear regression code and start from scratch. Instead, we can adapt our existing algorithm to this new problem using a technique that statisticians call logistic regression.

Let’s start by looking back at y^\hat{y}, the weighted sum of the inputs that we introduced in the lesson: Adding More Dimensions.

y^=x1w1+x2w2+x3w3+...\hat{y} = x_1 * w_1 + x_2 * w_2 + x_3 * w_3 + ...

In linear regression, y^\hat{y} ...

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy