Monday, November 9, 2026

Clustering - Data Science

 

License: CC BY 4.0

arXiv:2412.18760v2 [cs.AI] 30 Jan 2025

Data clustering: an essential technique in data science

https://arxiv.org/html/2412.18760v2



Clustering is an unsupervised machine learning technique that groups unlabelled data points into distinct subsets based on their similarities or distance metrics.


Core Types of Clustering


• Centroid-Based: Groups data points around central points (centroids or medoids), such as K-Means or K-Medoids.

• Density-Based: Identifies clusters as areas of high density separated by low-density noise, such as DBSCAN or HDBSCAN.

• Connectivity-Based (Hierarchical): Builds a tree-like hierarchy (dendrogram) by merging or splitting groups step-by-step, such as Agglomerative or Divisive clustering.

• Distribution-Based: Assumes data points follow a mixture of statistical probability distributions, such as Gaussian Mixture Models (GMM).

• Hard vs. Soft Clustering: Hard clustering assigns each point to a single cluster; soft (or fuzzy) clustering assigns a probability or degree of membership across multiple clusters.


Common Algorithms


• K-Means: Iteratively assigns points to the nearest centroid and re-computes centers to minimize intra-cluster variance.

• DBSCAN: Finds clusters of arbitrary shapes and treats sparse points as outliers/noise without requiring the number of clusters (k) upfront.

• Hierarchical Clustering: Connects nearest neighbors to form nested clusters visible via a dendrogram.


Key Evaluation Metrics


• Internal Metrics: Measure cluster compactness and separation without external labels, such as Silhouette Score, Davies-Bouldin Index, and Calinski-Harabasz Score.

• External Metrics: Compare generated clusters against known ground truth labels, such as Rand Index or Mutual Information.


Real-World Applications


• Customer Segmentation: Grouping buyers by purchasing behavior for targeted marketing.

• Anomaly & Fraud Detection: Isolating rare or dense outliers away from normal data behavior.

• Image & Text Analysis: Organizing pixel vectors or document embeddings into thematic topics.


Earlier Article by Me in 2016

Data Mining - Cluster Analysis: Basic Concepts and Methods

https://knols-cse.blogspot.com/2016/04/data-mining-cluster-analysis-basic.html


Data Science - A Guide to Clustering Algorithms

An overview of clustering and the different families of clustering algorithms.

Alex Davis, September 6, 2024

https://towardsdatascience.com/a-guide-to-clustering-algorithms-e28af85da0b7/


https://developers.google.com/machine-learning/clustering/overview








No comments:

Post a Comment