Clustering Algorithm Implementations ML Frameworks

Implementations and educational resources for clustering algorithms (k-means, hierarchical, fuzzy c-means, density-based, spectral). Does NOT include clustering applications to specific domains, dimensionality reduction techniques, or general data visualization tools.

There are 113 clustering algorithm implementations frameworks tracked. 2 score above 70 (verified tier). The highest-rated is scikit-learn-contrib/hdbscan at 87/100 with 3,080 stars and 1,686,801 monthly downloads. 1 of the top 10 are actively maintained.

Get all 113 projects as JSON

curl "https://pt-edge.onrender.com/api/v1/datasets/quality?domain=ml-frameworks&subcategory=clustering-algorithm-implementations&limit=20"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.

# Framework Score Tier
1 scikit-learn-contrib/hdbscan

A high performance implementation of HDBSCAN clustering.

87
Verified
2 annoviko/pyclustering

pyclustering is a Python, C++ data mining library.

71
Verified
3 panagiotisanagnostou/HiPart

Hierarchical divisive clustering algorithm execution, visualization and...

67
Established
4 wq2012/SpectralCluster

Python re-implementation of the (constrained) spectral clustering algorithms...

63
Established
5 mqcomplab/MDANCE

MDANCE: O(N) clustering for molecular dynamics. Process 1.5M frames in...

62
Established
6 motiwari/BanditPAM

BanditPAM C++ implementation and Python package

60
Established
7 erdogant/clusteval

Clusteval provides methods for unsupervised cluster validation

57
Established
8 mqcomplab/bitbirch

BitBIRCH clustering algorithm

52
Established
9 nla-group/classix

Fast and explainable clustering in Python

50
Established
10 src-d/kmcuda

Large scale K-means and K-nn implementation on NVIDIA GPU / CUDA

50
Established
11 tgsmith61591/clust4j

A suite of classification clustering algorithm implementations for Java. A...

49
Emerging
12 Core-Bioinformatics/ClustAssess

Tools for assessing clustering robustness

49
Emerging
13 BGU-CS-VIL/pdc-dp-means

"Revisiting DP-Means: Fast Scalable Algorithms via Parallelism and Delayed...

43
Emerging
14 hugo-strang/silhouette-upper-bound

An upper bound of the Average Silhouette Width.

41
Emerging
15 scikit-learn-contrib/denmune-clustering-algorithm

DenMune a clustering algorithm that can find clusters of arbitrary size,...

41
Emerging
16 yizhe-ang/k-means-explorable

An Explorable Explainer of K-Means Clustering

39
Emerging
17 Clustering4Ever/Clustering4Ever

C4E, a JVM friendly library written in Scala for both local and distributed...

39
Emerging
18 jg-you/dyvider

Dynamic programming algorithms for exact linear clustering in networks.

39
Emerging
19 stanleyfok/kmeans-engine

Scalable kmeans clustering algorithm in js using objects as input vectors,...

38
Emerging
20 jfaccioli/seo-keyword-clusters

An application using Machine Learning to automatically create clusters of...

37
Emerging
21 dstein64/k-means-quantization-js

Apply color quantization to images using k-means clustering.

35
Emerging
22 JangirSumit/kmeans-clustering

K Means Clustering - Unsupervised learning

34
Emerging
23 asarnaout/UniCluster.Net

High-performance .NET library for optimal 1D K-means clustering. Guarantees...

34
Emerging
24 morphocluster/morphocluster

Source code for the MorphoCluster application described in Schroeder et al. 2020

33
Emerging
25 porterehunley/RACplusplus

A high performance implementation of Reciprocal Agglomerative Clustering in C++

32
Emerging
26 ZPGuiGroupWhu/ClusteringDirectionCentrality

A novel Clustering algorithm by measuring Direction Centrality (CDC)...

31
Emerging
27 LuisScoccola/persistable

density-based clustering for exploratory data analysis based on...

31
Emerging
28 MathWorks-Teaching-Resources/Machine-Learning-Methods-Clustering

Interactive courseware module that addresses the theory behind multiple...

29
Experimental
29 AugustoCL/ClusterAnalysis.jl

Cluster Algorithms from Scratch with Julia Lang. (K-Means and DBSCAN)

28
Experimental
30 rajanim/selective-search

Selective search partitions large scale dataset into subsets(shards) such...

27
Experimental
31 danny-1k/torchclust

Efficient and Scalable Implementations of Clustering Algorithms using Pytorch.

27
Experimental
32 fabiancpl/mlexplore.js

MLExplore.js: Exploring High-Dimensional Data by Interacting and...

26
Experimental
33 alifrmf/Country-Profiling-Using-PCA-and-Clustering

Unsupervised Machine Learning Analysis Using Clustering Model

25
Experimental
34 klevis/KMeansImageColorReduction

Using Maching Learning KMeans Algorithm to reduce image colors and compress

25
Experimental
35 gagolews/clustering-data-v1

A framework for benchmarking clustering algorithms – Benchmark suite, version 1

24
Experimental
36 cobanov/image-clustering

Easy image clustering tool.

24
Experimental
37 OlaPietka/Agglomerative-Hierarchical-Clustering-from-scratch

Build Agglomerative hierarchical clustering algorithm from scratch, i.e....

24
Experimental
38 TejasV58/Fuzzy-C-means-from-scratch

Simple implementation of Fuzzy C-means algorithm using python. It is used...

24
Experimental
39 Areesha-Tahir/K-Means-And-KNN-On-MultiClass-Dataset

Applying K Means and KNN on a multiclass dataset to make clusters and find...

24
Experimental
40 AneekHait/Text-Analyzer-Pro

Python desktop GUI for text clustering from Excel using TF-IDF, KMeans,...

23
Experimental
41 gagolews/quitefastmst

quitefastmst: Euclidean and Mutual Reachability Minimum Spanning Trees

23
Experimental
42 Marra-Federico/Iris-K-Means

Simple K-Means algorithm of Machine Learning

23
Experimental
43 anamabo/Equal-Size-Spectral-Clustering

A modification of the spectral clustering algorithm that imposes constraints...

23
Experimental
44 chalkpe/nodeflow

K-means clustering in JavaScript

22
Experimental
45 cntejas/Exploratory-Analysis-Of-Geolocational-Data

This project involves the use of K-Means Clustering to find the best...

22
Experimental
46 Mr-SGXXX/Clustering

The collection and reproduction code of the clustering methods I have known

22
Experimental
47 arclabs561/clump

Dense clustering primitives (k-means, DBSCAN, HDBSCAN, EVoC)

22
Experimental
48 nmfs-ost/AA-SI_KMeans

Performs inter-frequency K-Means clustering on acoustic data using echopype

22
Experimental
49 Therad445/cuda-rentsense-knn

CUDA-accelerated kNN regression for rent estimation with CPU baseline,...

22
Experimental
50 nejci/Pepelka

Pepelka is a MATLAB toolbox for data clustering and visualization.

21
Experimental
51 primaryobjects/unsupervised

Applying unsupervised learning using K-means clustering.

20
Experimental
52 Depermitto/klaster

Symbol Deep Clustering in a cohesive library for the Rust programming language.

20
Experimental
53 tommaso-accornero/european-regional-degrowth-typology

A PCA and Clustering approach to Degrowth Theory

19
Experimental
54 monk1337/Mixclu

A Python package for unsupervised mixed datatypes clustering

19
Experimental
55 spirosmaggioros/ClusterXX

Clustering/Manifold/Decomposition methods in modern C++

19
Experimental
56 Vatshayan/Machine-Learning-Project-for-Image-Compression

Implementation & Learning of Compression of Image through use of K-means...

18
Experimental
57 sumony2j/K-Means_Clustering

Python implementation of K-Means Clustering algorithm for unsupervised...

18
Experimental
58 zamirmehdi/Fuzzy-Cmeans-Clustering

Clustering based on Fuzzy Logic(C-Means). Implementation for soft clustering...

17
Experimental
59 satyamroy15/K-Means-Clustering-Unsupervised-ML

To predict the optimum number of clusters and represent it visually, from...

17
Experimental
60 AllisonLWhiteSEFSC/K-Means-for-Echo-Classification-of-Acoustic-Fish-Schools

K-means clustering performed on acoustic schools exported from Echoview in R

17
Experimental
61 stevemacn/kmeans

k-means library for Javascript

17
Experimental
62 huangyueranbbc/KmeansDemo

kmeans

17
Experimental
63 lettier/interactivekmeans

Interactive HTML canvas based implementation of k-means.

16
Experimental
64 AsadiAhmad/Partition-Based-Clustering

Comparing partition based clustering, K-means, K-means++, K-medoid

16
Experimental
65 ansh-info/UR3-Cobotops-Clustering

Clustering analysis of UR3 CobotOps dataset to identify patterns in robotic...

16
Experimental
66 LinaYorda/missing-females-ml

This project analyses data from missing females in the USA. I have performed...

16
Experimental
67 buhsnn/electric-school-bus-adoption-clustering

Unsupervised learning analysis of electric school bus adoption using...

15
Experimental
68 sablokrep/bactgraph

kmeans graph clustering for bacterial metagenomics

15
Experimental
69 alyssahusna44/poai-kmeans-data-analysis

A simple implementation of the K-Means clustering algorithm for unsupervised...

15
Experimental
70 Melanee-Melanee/Tehran-Municipality

Analyzing data on Tehran municipality (شهرداری تهران)

15
Experimental
71 R0N7w7/CMeansTypescript

A TypeScript implementation of the Fuzzy C-Means clustering algorithm with a...

15
Experimental
72 jColeChanged/josh.meanings

A k means implementation in Clojure which supports clustering on larger than...

15
Experimental
73 AsadiAhmad/DBSCAN

DBSCAN is clustering algorithm.

15
Experimental
74 MateoVR13/Image_Clustering_ResNet50_KMeans

Image Clustering with ResNet50 & K-Means: A Python tool that uses deep...

14
Experimental
75 aruuunn/clustering-visualizer

Clustering Visualizer is a Web Application for visualizing popular Machine...

14
Experimental
76 tarhang/AffinityPropagation

Implementation of the Affinity Propagation clustering algorithm on a...

14
Experimental
77 shahin-ro/FashionMNIST-Clustering

Clustering Fashion-MNIST with K-Means & Agglomerative methods! 🖼️✨ Analyze...

14
Experimental
78 hacker007S/Clustering_report_ADS

🤖 ML Clustering Analysis with KMeans & ADS | Python, Scikit-Learn, World...

14
Experimental
79 UrvashiPandey-04/Netflix-Show-Clustering

This project groups Netflix shows and movies into clusters based on their...

14
Experimental
80 Yazan-Ashour/iris-clustering-unsupervised-learning

Unsupervised learning project applying K-Means, Hierarchical, and DBSCAN...

14
Experimental
81 alexissmtt/global-sustainable-energy

PCA & K-Means clustering on global sustainable energy data (2000–2020) —...

14
Experimental
82 gowthamx25/DBSCAN-for-Mall-Customer-Analysis

This project applies DBSCAN (Density-Based Spatial Clustering of...

13
Experimental
83 Amirhossein-Rajabpour/Fuzzy-C-Means-Clustering

Computational Intelligence Course Project

13
Experimental
84 arminZolfaghari/CMeans_fuzzy

Classification based on Fuzzy Logic(C-Means) - Computational Intelligence...

13
Experimental
85 teddyoweh/College-Students-Clustering

Implementing Kmeans on a College Students database based on their iq and...

13
Experimental
86 Roodaki/Kmeans-Color-Quantization

Utilizing K-means clustering to reduce color complexity while maintaining...

13
Experimental
87 aiaaee/Unfolding-the-Swiss-Roll-Dataset

Unfolding the Swiss Roll Dataset explores different approaches to analyzing...

12
Experimental
88 ahmedrana24/AI-Project-Spring24

A comprehensive implementation of core AI and Machine Learning algorithms...

12
Experimental
89 navdeep-G/h2o3-gapstat

Estimating the number of clusters in a data set via the gap statistic....

12
Experimental
90 DragosTana/kmeans

KMeans algorithmn parallelized with OpenMP

12
Experimental
91 andikarachman/Automated-Corrosion-Loop-Development

Develop an automated corrosion loop development system based on k-means...

12
Experimental
92 ketanraj15/The-Knox-Production-Mix-Selection-Problem

The Knox Production-Mix Selection Problem - A Fuzzy Approach

12
Experimental
93 cuixing158/kFocals-Cluster-Algorithm

a new cluster algorithm for kFocals

12
Experimental
94 zfengyan/Kmeans_clustering

Kmeans-clustering based on point-cloud data.

12
Experimental
95 LinggarM/Movie-Synopsis-Text-Clustering

Movie Synopsis Text Clustering using K-Means Clustering and TF-IDF...

11
Experimental
96 vityasyyy/kmeans-dbscan

Machine Learning KOM A Yunita Sari, S.Kom., M.Sc., Ph.D. Implementing...

11
Experimental
97 JoshPola96/tmdb-movie-clustering

Performs clustering analysis on the TMDB 5000 movie dataset to identify...

11
Experimental
98 JohnMachado11/Data-Without-Labels

Practical unsupervised machine learning

11
Experimental
99 akulvinod/Scaler-Clustering-ML

Analyzing the vast data of learners can uncover patterns in their...

11
Experimental
100 matiasrodriguezc/k-means-clustering-ai-naming

🤖 AI-Powered K-Means Clustering App. Interactive data segmentation,...

11
Experimental
101 GiatrasKon/Clustering-Countries-Socioeconomic-Health-Analysis

Exploration and analysis of socio-economic and health data from 167...

11
Experimental
102 Aggrathon/rslc

Robust Single-Linkage Clustering

11
Experimental
103 yasirutishan/kmeans_clustering

The focus of this coursework is to assess your understanding of unsupervised...

11
Experimental
104 ColinTr/InteractiveClustering

[ECML PKDD 2023] An Interactive Interface for Novel Class Discovery in Tabular Data

11
Experimental
105 Develop-Packt/Clustering-Fundamentals

This chapter will get you introduced to the fundamentals of Clustering which...

11
Experimental
106 shiisinsane/image_feature_extraction_and_clustering

对一个带标签的图像数据集,分别使用传统CV方法/深度学习方法进行图像特征提取,并基于提取后的向量化特征聚类,对结果做EDA和效果评估

11
Experimental
107 JangirSumit/Hierarchical-Clustering

Hierarchical Clustering with Dendrogram charts

10
Experimental
108 SameetAsadullah/K-Means-Clustering-on-Abalone-Dataset

Implemented K-Means Clustering on the given Abalone Dataset using Python Language

10
Experimental
109 chriskormaris/kMeansInJava

A Machine Learning algorithm that assigns the data of a given dataset to a...

10
Experimental
110 kaustubholpadkar/DBSCAN-Clustering-Simulation

Simulation of DBSCAN Clustering algorithm using P5.JS

10
Experimental
111 saktinugraha/clustro-js

Javascript implementation of several data clustering methods in the area of...

10
Experimental
112 t-ski/clustering-algorithms

Pure TypeScript implementations of common clustering algorithms.

10
Experimental
113 navdeep-G/h2o3-pam

Implementation of Partitioning Around Medoids (PAM) in H2O-3

10
Experimental