Monday, July 29, 2024

Logistic Regression is a binary classification algorithm

To See All ML Articles: Index of Machine Learning

We Saw Previously: What is Logistic Regression?

1. Logistic Regression is a binary classification algorithm. However, its multi-class variant also exists and is called Softmax Regression. 2. It is a supervised learning algorithm. 3. Logistic Regression is a probabilistic model. 4. It is applicable for linearly separable data. However, it can be tuned to accommodate for noise in the data.

What is a ‘Classification Algorithm’ or a Classifier?

Classification Algorithm or Classifier helps you identify the class of a data point. As in: Cat vs Dog Loan Default vs Not_Default Healthy vs Unhealthy

There are other types of algorithms / problems as well...

- Classification : This we are covering right now. - Regression : Predict a real-valued function such as house price or monthly expenses. This we saw in Linear Regression video. - Clustering : Grouping of data (which we call clusters) based on their features, similarities and differences. - Outlier Detection : Identifying data point which deviate from the pattern that other 95-98% of majority data points follow. - Dimensionality Reduction : We reduce the number of features in this type of problem through mathematical transformations.

Binary Classifier vs Multi-class Classifier

In Binary Classification, there are two classes. Such as in the example we saw: Team_Wins vs Team_Loses, Loan Default vs Not_Default, Healthy vs Unhealthy. But there are Multi-class Classification problems as well: In this there are more than two classes. Such as in image recognition for cat vs dog vs pig, or problems such as object detection in which we look for all sorts of objects like table, chair, book, car, traffic lights, etc. Another example of Multi-class classification that is worth remembering is Named Entity Recognition (or NER for short) that aims at classifying a word into one of the four/five categories: Person, Place, Organization, Miscellaneous and Not_A_Named_Entity.

No comments:

Post a Comment