About Anaconda Help Download Anaconda

sfe1ed40 / packages / k-means-constrained 0.7.2

K-Means clustering constrained with minimum and maximum cluster size

Installers

  • linux-s390x v0.7.2
  • osx-arm64 v0.7.2
  • linux-64 v0.7.2
  • linux-aarch64 v0.7.2
  • osx-64 v0.7.2
  • linux-ppc64le v0.7.2

conda install

To install this package run one of the following:
conda install sfe1ed40::k-means-constrained

Description

K-means clustering implementation whereby a minimum and/or maximum size for each cluster can be specified. This K-means implementation modifies the cluster assignment step (E in EM) by formulating it as a Minimum Cost Flow (MCF) linear network optimisation problem. This is then solved using a cost-scaling push-relabel algorithm and uses Google's Operations Research tools's SimpleMinCostFlow which is a fast C++ implementation.


© 2025 Anaconda, Inc. All Rights Reserved. (v4.0.6) Legal | Privacy Policy