kmedoids
k-Medoids Clustering in Python with FasterPAM
k-Medoids Clustering in Python with FasterPAM
To install this package, run one of the following:
This python package implements k-medoids clustering with PAM and variants of clustering by direct optimization of the (Medoid) Silhouette, including the DynMSC variant that automatically chooses the number of clusters (based on the optimum medoid silhouette). It can be used with arbitrary dissimilarites, as it only requires a dissimilarity matrix as input. A sklearn compatible API is included.
Summary
k-Medoids Clustering in Python with FasterPAM
Last Updated
Sep 17, 2025 at 12:23
License
GPL-3.0-or-later
Total Downloads
167.9K
Supported Platforms
GitHub Repository
https://github.com/kno10/python-kmedoidsDocumentation
https://python-kmedoids.readthedocs.io/