Invasion of the Sigmoids
Learn and explore how sigmoids help when linear regression fails.
We'll cover the following...
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 , the weighted sum of the inputs that we introduced in the lesson: Adding More Dimensions.
In linear regression, could take any value. Binary classification, however, imposes a tight constraint that must not drop below nor raise above . Here’s an idea: maybe we can find a function that wraps around the weighted sum and constrains it to the range from ...