•  
  •  
  •  
  •  
  •  
  •  

Let's start with the definition

Let X = \{x_1,\dots,x_n\} be a dataset, a clustering algorithm aims to discriminate the data in a set C = \{c_1,\dots,c_m\} of clusters whose elements are similar among them and dissimilar with respect to the elements of other clusters.