Machine Learning, Regression, Classification, Scikit Learn, Artificial Intelligence.
above 0.5 will be designated as class 1. Here’s what this looks like: Drawn by author. You can see that all the data points are either 0 or 1. The line we’ve found isn’t too bad: There are only 5 points that are below the threshold, i.e., their y value on the line is ≤ 0.5 — yet they belong to