Expand description
K-means clustering for 2D point clouds.
Based on the work by Atsushi Sakai (@Atsushi_twi).
Structs§
- KMeans
Config - Configuration for the k-means algorithm.
- KMeans
Result - Result of k-means clustering.
Constants§
- DEFAULT_
COST_ THRESHOLD - Default cost-change threshold for convergence.
- DEFAULT_
MAX_ ITERATIONS - Default maximum number of iterations.
Functions§
- kmeans_
clustering - Run k-means clustering on 2D points.