Classification models

In machine learning we have different types of models and algorithms. As the classification models comes in the field of supervised learning. In this type the model classify the data into classes.

In this article we will discuss about what is classification algorithm, types of classifier, and where we can use classification models.

What is the Classification Algorithm?

The Classification algorithm come in the field of Supervised Learning. In classification models we classify our dataset into many classes and these algorithms uses are a linear or a nonlinear approach to differentiate between the data into classes.

As in the above image we have a dataset of black, white and grey dots. The classification model has made 3 lines to separate the dataset into classes i.e. class 1, class 2, and class 3. The output can either binary or categorical.

Types of classifier

There are mainly 2 types of classifiers

Binary Classifier

In this type of classification the output predicted by the model has only 2 possibilities like yes or no

Multi-class Classifier

In this type of classification technique the model can predict more than 2 outputs like colours i.e blue, red, black

Types of Classification Algorithms

Further in these two classes we have different type of model that uses

Linear Models

In this type the model uses a line to classify between dataset.

  • Logistic Regression
  • Support Vector Machine (SVM)

Non-linear Models

In this type the model uses a curve to classify between dataset.

  • Decision Tree Classification
  • Random Forest Classification
  • K-Nearest Neighbours
  • Naïve Bayes
  • Kernel SVM

Use cases of Classification Algorithms

We can use classification models in many areas.

  • Targeted marketing
  • Spam filtering
  • Image classification


Now let’s say you are working for an insurance company and your target is to sell the insurance to maximum people. now the bank has provided you a dataset of a past employe. In that given dataset there are some basic information of customers like age, income and etc. and all the people who has bought the insurance in the past.

Here you can make a classification model which would help in predicting what kind of person would buy insurance. so you can spend your limited time to sell the insurance to maximum people.

Well, if you like this article you can check out my articles for more interesting articles in the field of artificial intelligence and machine learning.


If you found this article useful please appreciate it by giving claps and follow me for more interesting articles. Well, I have good news for you I would be bringing more articles to explain machine learning concepts and models with codes so leave a comment and tell me how excited are you about this.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Aviral Bhardwaj

Aviral Bhardwaj


One of the youngest writer and mentor on AI-ML & Technology.