Binary Classification

In previous articles, I talked about deep learning and the functions used to predict results. In this article, we will use logistic regression to perform binary classification. Binary classification is named this way because it classifies the data into two results. Simply put, the result will be “yes” (1) or “no” (0). To determine whether the result is “yes” or “no”, we will use a probability function:

Image for post

This probability function will give us a number from 0 to 1 indicating how likely this observation will belong to the classification that we have currently determined to be “yes”. With this, we know what we intend to do with our prediction. Now, we’ll see how to use logistic regression to calculate the equation in (1).

#machine-learning #supervised-learning #artificial-intelligence #classification-algorithms #python

Logistic Regression for Binary Classification
1.10 GEEK