Clustering is one of the unsupervised Machine Learning mechanisms that search for similarity and relationship patterns among data samples and then creates a cluster of those samples based on similarity measurements.
This clustering mechanism is further classified into various types, such as Density-based, Hierarchical-based, Partitioning, and Grid.