![]() |
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.h | |
| C# | kmeans.cs | |
| Delphi | kmeans.pas | |
| FreePascal | kmeans.pas | |
| VBA | kmeans.bas |
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 source.
Delphi source.
VBA source.
|
ALGLIB project, 1999-2010 |