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 133 clustering algorithm implementations frameworks tracked. 1 score above 70 (verified tier). The highest-rated is scikit-learn-contrib/hdbscan at 77/100 with 3,080 stars. 1 of the top 10 are actively maintained.

Get all 133 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.

77
Verified
2 annoviko/pyclustering

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

61
Established
3 panagiotisanagnostou/HiPart

Hierarchical divisive clustering algorithm execution, visualization and...

58
Established
4 erdogant/clusteval

Clusteval provides methods for unsupervised cluster validation

57
Established
5 mqcomplab/MDANCE

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

56
Established
6 wq2012/SpectralCluster

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

55
Established
7 motiwari/BanditPAM

BanditPAM C++ implementation and Python package

53
Established
8 mqcomplab/bitbirch

BitBIRCH clustering algorithm

52
Established
9 src-d/kmcuda

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

50
Established
10 nla-group/classix

Fast and explainable clustering in Python

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 hugo-strang/silhouette-upper-bound

An upper bound of the Average Silhouette Width.

47
Emerging
14 stanleyfok/kmeans-engine

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

45
Emerging
15 BGU-CS-VIL/pdc-dp-means

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

45
Emerging
16 jg-you/dyvider

Dynamic programming algorithms for exact linear clustering in networks.

44
Emerging
17 scikit-learn-contrib/denmune-clustering-algorithm

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

41
Emerging
18 JangirSumit/kmeans-clustering

K Means Clustering - Unsupervised learning

41
Emerging
19 asarnaout/UniCluster.Net

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

40
Emerging
20 morphocluster/morphocluster

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

40
Emerging
21 Clustering4Ever/Clustering4Ever

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

39
Emerging
22 yizhe-ang/k-means-explorable

An Explorable Explainer of K-Means Clustering

39
Emerging
23 jfaccioli/seo-keyword-clusters

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

37
Emerging
24 AugustoCL/ClusterAnalysis.jl

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

35
Emerging
25 dstein64/k-means-quantization-js

Apply color quantization to images using k-means clustering.

35
Emerging
26 fabiancpl/mlexplore.js

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

33
Emerging
27 porterehunley/RACplusplus

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

32
Emerging
28 klevis/KMeansImageColorReduction

Using Maching Learning KMeans Algorithm to reduce image colors and compress

32
Emerging
29 alifrmf/Country-Profiling-Using-PCA-and-Clustering

Unsupervised Machine Learning Analysis Using Clustering Model

32
Emerging
30 MathWorks-Teaching-Resources/Machine-Learning-Methods-Clustering

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

32
Emerging
31 danny-1k/torchclust

Efficient and Scalable Implementations of Clustering Algorithms using Pytorch.

31
Emerging
32 OlaPietka/Agglomerative-Hierarchical-Clustering-from-scratch

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

31
Emerging
33 TejasV58/Fuzzy-C-means-from-scratch

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

31
Emerging
34 gagolews/clustering-data-v1

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

31
Emerging
35 cobanov/image-clustering

Easy image clustering tool.

31
Emerging
36 LuisScoccola/persistable

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

31
Emerging
37 Areesha-Tahir/K-Means-And-KNN-On-MultiClass-Dataset

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

31
Emerging
38 ZPGuiGroupWhu/ClusteringDirectionCentrality

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

31
Emerging
39 Marra-Federico/Iris-K-Means

Simple K-Means algorithm of Machine Learning

30
Emerging
40 anamabo/Equal-Size-Spectral-Clustering

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

30
Emerging
41 Depermitto/klaster

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

30
Emerging
42 Mr-SGXXX/Clustering

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

29
Experimental
43 cntejas/Exploratory-Analysis-Of-Geolocational-Data

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

29
Experimental
44 nejci/Pepelka

Pepelka is a MATLAB toolbox for data clustering and visualization.

28
Experimental
45 primaryobjects/unsupervised

Applying unsupervised learning using K-means clustering.

27
Experimental
46 AneekHait/Text-Analyzer-Pro

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

27
Experimental
47 gagolews/quitefastmst

quitefastmst: Euclidean and Mutual Reachability Minimum Spanning Trees

26
Experimental
48 monk1337/Mixclu

A Python package for unsupervised mixed datatypes clustering

26
Experimental
49 sumony2j/K-Means_Clustering

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

25
Experimental
50 Vatshayan/Machine-Learning-Project-for-Image-Compression

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

25
Experimental
51 spirosmaggioros/ClusterXX

Clustering/Manifold/Decomposition methods in modern C++

25
Experimental
52 satyamroy15/K-Means-Clustering-Unsupervised-ML

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

24
Experimental
53 stevemacn/kmeans

k-means library for Javascript

24
Experimental
54 chalkpe/nodeflow

K-means clustering in JavaScript

24
Experimental
55 zamirmehdi/Fuzzy-Cmeans-Clustering

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

24
Experimental
56 huangyueranbbc/KmeansDemo

kmeans

24
Experimental
57 AsadiAhmad/Partition-Based-Clustering

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

23
Experimental
58 lettier/interactivekmeans

Interactive HTML canvas based implementation of k-means.

23
Experimental
59 LinaYorda/missing-females-ml

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

23
Experimental
60 ansh-info/UR3-Cobotops-Clustering

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

23
Experimental
61 Therad445/cuda-rentsense-knn

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

22
Experimental
62 AsadiAhmad/DBSCAN

DBSCAN is clustering algorithm.

22
Experimental
63 jColeChanged/josh.meanings

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

22
Experimental
64 Melanee-Melanee/Tehran-Municipality

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

22
Experimental
65 aruuunn/clustering-visualizer

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

21
Experimental
66 arclabs561/clump

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

21
Experimental
67 AllisonLWhiteSEFSC/K-Means-for-Echo-Classification-of-Acoustic-Fish-Schools

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

21
Experimental
68 MateoVR13/Image_Clustering_ResNet50_KMeans

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

21
Experimental
69 arminZolfaghari/CMeans_fuzzy

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

20
Experimental
70 teddyoweh/College-Students-Clustering

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

20
Experimental
71 Roodaki/Kmeans-Color-Quantization

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

20
Experimental
72 shahin-ro/FashionMNIST-Clustering

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

20
Experimental
73 Amirhossein-Rajabpour/Fuzzy-C-Means-Clustering

Computational Intelligence Course Project

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

A PCA and Clustering approach to Degrowth Theory

19
Experimental
75 zfengyan/Kmeans_clustering

Kmeans-clustering based on point-cloud data.

19
Experimental
76 ketanraj15/The-Knox-Production-Mix-Selection-Problem

The Knox Production-Mix Selection Problem - A Fuzzy Approach

19
Experimental
77 cuixing158/kFocals-Cluster-Algorithm

a new cluster algorithm for kFocals

19
Experimental
78 DragosTana/kmeans

KMeans algorithmn parallelized with OpenMP

19
Experimental
79 nmfs-ost/AA-SI_KMeans

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

19
Experimental
80 GiatrasKon/Clustering-Countries-Socioeconomic-Health-Analysis

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

18
Experimental
81 Aggrathon/rslc

Robust Single-Linkage Clustering

18
Experimental
82 ColinTr/InteractiveClustering

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

18
Experimental
83 yasirutishan/kmeans_clustering

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

18
Experimental
84 SameetAsadullah/K-Means-Clustering-on-Abalone-Dataset

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

17
Experimental
85 sablokrep/bactgraph

kmeans graph clustering for bacterial metagenomics

17
Experimental
86 navdeep-G/h2o3-pam

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

17
Experimental
87 tarhang/AffinityPropagation

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

16
Experimental
88 alyssahusna44/poai-kmeans-data-analysis

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

15
Experimental
89 gowthamx25/DBSCAN-for-Mall-Customer-Analysis

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

15
Experimental
90 hacker007S/Clustering_report_ADS

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

14
Experimental
91 buhsnn/electric-school-bus-adoption-clustering

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

14
Experimental
92 ahmedrana24/AI-Project-Spring24

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

14
Experimental
93 R0N7w7/CMeansTypescript

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

14
Experimental
94 aiaaee/Unfolding-the-Swiss-Roll-Dataset

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

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

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

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

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

14
Experimental
97 alexissmtt/global-sustainable-energy

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

14
Experimental
98 Badr-MOUFAD/multivariate-time-series-clustering

Multivariate clustering of weather data. This is part of my research internship.

13
Experimental
99 LinggarM/Movie-Synopsis-Text-Clustering

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

13
Experimental
100 vityasyyy/kmeans-dbscan

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

13
Experimental
101 Develop-Packt/Clustering-Fundamentals

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

13
Experimental
102 JoshPola96/tmdb-movie-clustering

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

13
Experimental
103 akulvinod/Scaler-Clustering-ML

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

13
Experimental
104 schmidtdominik/spectral-clustering-exp

Spectral clustering on graphs demo implemented in javascript with custom...

12
Experimental
105 soroushesnaashari/Customer-Clustering

An Unsupervised Machine Learning project

12
Experimental
106 saktinugraha/clustro-js

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

12
Experimental
107 kaustubholpadkar/DBSCAN-Clustering-Simulation

Simulation of DBSCAN Clustering algorithm using P5.JS

12
Experimental
108 chriskormaris/kMeansInJava

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

12
Experimental
109 JangirSumit/Hierarchical-Clustering

Hierarchical Clustering with Dendrogram charts

12
Experimental
110 t-ski/clustering-algorithms

Pure TypeScript implementations of common clustering algorithms.

12
Experimental
111 adanjoga/evoclustering

A repository of evolutionary clustering papers with code

11
Experimental
112 sametmemis/FPFS-CMC

A Classification Method in Machine Learning Based on Soft Decision-Making...

11
Experimental
113 Cayson-S/KMeans-Clustering

This was a project for my AI class. In it, I coded the K-Means Clustering...

11
Experimental
114 erstre/kmeans_clustering_compressing_img

Matlab implementation of k-Means algorithm for image compression.

11
Experimental
115 EdoardoVacchini01/K-Means-OpenMPI

An Open MPI implementation of the K-Means clustering algorithm.

11
Experimental
116 kaustubholpadkar/K-means_Clustering-Simulation

Simulation of K-means Clustering algorithm using P5.JS

11
Experimental
117 Deniskore/kmeans_uni

Fast, safe K-Means++ with SIMD acceleration, mini-batch training and WASM support

11
Experimental
118 georgeslabreche/kmeans-image-clustering

K-Means image clustering that just works. Lightweight and low footprint C++...

11
Experimental
119 zamirmehdi/Fuzzy_C-Mean

Classification based on Fuzzy Logic(C-Means).

11
Experimental
120 Orange-OpenSource/Interactive-Clustering

Simple web interface designed to assist the user in solving the Machine...

11
Experimental
121 OKaemii/ML-KMeans

A simple k-means algorithm where the centroids are already defined.

11
Experimental
122 Alesarabandi/MATLAB-Clustering-and-Classification-Projects---Numerical-Methods

Explore insightful projects on data analysis with MATLAB: k-means, k-medoid,...

11
Experimental
123 kamil-sita/simple_kmeans

Simple to use KMeans Java library.

11
Experimental
124 rahul1947/ML-A03-K-Means-Clustering-Algorithm

Implementation of K-Means Clustering Algorithm for Assignment 03 of the...

11
Experimental
125 aranyia/DoubleFeature

DoubleFeature provides abstractions for clustering data entities based on...

11
Experimental
126 iamluirio/unsupervised-learning-clustering

DBSCAN Clustering algorithm: Cosine Similarity metric.

11
Experimental
127 roberts94/notes-and-accords

This project explores the relationships between a perfume's fragrance notes...

11
Experimental
128 Tanmayee2010/Semantic-Image-Clustering

Semantic Image Clustering Using Machine Learning Algorithms

11
Experimental
129 MahindaMK/Multi-local-Power-means-based-fuzzy-k-nearest-neighbor-algorithm-MLPM-FKNN

MATLAB code for multi-local Power means-based fuzzy k-nearest neighbor...

11
Experimental
130 nipunmohindra/kmeans-clustering

k-means clustering is a method of vector quantisation, originally from...

11
Experimental
131 kyrczak/clustering-algorithms-analysis

Clustering Algorithms Analysis is an artificial intelligence project...

10
Experimental
132 szhou68/AngleClustering

A hierarchical clustering algorithm for clustering weighted angle values

10
Experimental
133 Austin-rgb/kmeans-vs-agglomerative

Comparing k-means clustering with Agglomerative clustering on online...

10
Experimental