The way a Machine can split the datas into different splits.
This Comes under Unsupervised learning.
There are many algorithms wich can classify a specific data to clusters.
This process is called as Clustering.
In this program I have used a algorithm called Hierarchical Clustering, Which can cluster with the help of Dendograms
Dendograms are basically a graph wich will tell the distances between two clusters.
At first it is being constructed by a single object as a cluster and later it begins with other near one with Euclidean distance and later on it clusters with other groups until to form a final cluster.
You can use different distances such as Hamming distance , Levenshtein distance ,etc...