Clustering Plotted Data by Image Segmentation

Tarek Naous, Srinjay Sarkar, Abubakar Abid, James Zou
10/6/2021
cs.LGcs.AI

Official code: tareknaous/visual-clustering (25 stars, Python, MIT, last commit 2025-02-25).

Abstract

Clustering algorithms are one of the main analytical methods to detect patterns in unlabeled data. Existing clustering methods typically treat samples in a dataset as points in a metric space and compute distances to group together similar points.

Show full abstract

In this paper, we present a wholly different way of clustering points in 2-dimensional space, inspired by how humans cluster data: by training neural networks to perform instance segmentation on plotted data. Our approach, Visual Clustering, has several advantages over traditional clustering algorithms: it is much faster than most existing clustering algorithms (making it suitable for very large datasets), it agrees strongly with human intuition for clusters, and it is by default hyperparameter free (although additional steps with hyperparameters can be introduced for more control of the algorithm). We describe the method and compare it to ten other clustering methods on synthetic data to illustrate its advantages and disadvantages. We then demonstrate how our approach can be extended to higher dimensional data and illustrate its performance on real-world data. The implementation of Visual Clustering is publicly available and can be applied to any dataset in a few lines of code.

View on arXivView PDF

Code Implementations(1)

MIT

Visual Clustering: Clustering Plotted Data by Image Segmentation

252PythonMay 25, 20211 years agoMIT

Similar Papers

Cite this paper

@article{naous2021clustering,
  title  = {Clustering Plotted Data by Image Segmentation},
  author = {Tarek Naous and Srinjay Sarkar and Abubakar Abid and James Zou},
  year   = {2021},
  eprint = {2110.05187},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.05187}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.05187.svg)](https://codeofpaper.com/paper/2110.05187)

Discussion