![]() |
The k-means algorithm is one of the most commonly used clustering methods. The algorithm strives for partitioning into clusters minimizing the sum of intracluster distances squared. The base method is fully detailed in Wikipedia. The ALGLIB package implements an algorithm version that is called "k-means++".
| C++ | kmeans subpackage | |
| C# | kmeans subpackage |
This article is intended for personal use only.
C# source.
C++ source.
C++ source. MPFR/GMP is used.
GMP source is available from gmplib.org. MPFR source is available from www.mpfr.org.
FreePascal version.
Delphi version.
VB.NET version.
VBA version.
Python version (CPython and IronPython are supported).
|
ALGLIB® - numerical analysis library, 1999-2012. |