CMD + K

kmedoids

Community

k-Medoids Clustering in Python with FasterPAM

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::kmedoids

Usage Tracking

0.5.4
0.5.3.1
0.5.3
0.5.2
0.5.1
5 / 8 versions selected
Downloads (Last 6 months): 0

Description

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.

About

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

win-64
macOS-arm64
macOS-64
linux-64