Clustering

Category: Foundations of ML/AI

An unsupervised learning task that groups similar data points together based on their inherent structure without predefined labels.

Full Explanation

Clustering partitions a dataset into groups (clusters) where data points within the same cluster are more similar to each other than to those in other clusters. Unlike classification, clustering does not use predefined labels and must discover groupings from the data's intrinsic structure. Common algorithms include K-means, DBSCAN, hierarchical clustering, and Gaussian mixture models. Distance or similarity metrics such as Euclidean distance, cosine similarity, or Mahalanobis distance define what "similar" means. Clustering is used for customer segmentation, document organization, image compression, gene expression analysis, and anomaly detection. Evaluating clustering quality is challenging since there are no ground truth labels; metrics like silhouette score, Davies-Bouldin index, and adjusted Rand index are commonly used.

Related Terms

More in Foundations of ML/AI

Explore More