What is Clustering?

An introduction to Machine learning algorithms

Aviral Bhardwaj
3 min readDec 21, 2022

The objective of clustering is to divide the population or data points into a number of groups such that the data points in the same groups are more similar to one another and different from the data points in other groups. In this article, I will define clustering and explain the many types of clustering.

What are clustering algorithms?

The process of grouping objects based on similarities is called clustering. Described as an unsupervised learning problem with the objective of producing training data using a specific set of inputs but without any predetermined goal values. In order to make a collection of unlabeled data more comprehensible and manipulable, it is the process of looking for comparable structural features. A cluster is a group of data points that are connected to one another through their connections to nearby data points. Two uses for clustering are pattern analysis and feature engineering.

Types of clustering algorithms

Different clustering techniques exist that can handle various sorts of data.

Density-based

source

Data is organised into clusters that have high data point densities surrounded by low data point densities. In essence, the algorithm identifies areas with a high density of data points and designates those areas as clusters.

Distribution-based

source

Based on the likelihood that each data point belongs to a certain cluster, all of the data points are regarded as components of that cluster.

Centroid-based

source

These methods divide data points depending on several centroids present in the data. In accordance with its squared distance from the centroid, each data point is grouped into a cluster. The most popular kind of clustering is this one.

Hierarchical-based

source

Everything is arranged top-down by creating a tree of clusters.

Popular clustering algorithms

  • K-means clustering algorithm
  • Gaussian Mixture Model algorithm
  • DBSCAN clustering algorithm
  • BIRCH algorithm
  • Mean-Shift clustering algorithm
  • OPTICS algorithm

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.

Conclusion

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.

--

--

Aviral Bhardwaj

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