APR-CLU-001 // apr-v2-f32
K-Means (Lloyd's Algorithm)
SIMD-accelerated Euclidean vector quantizer minimizing within-cluster sum of squares with deterministic convergence.
Runtime: Loading .apr...
Inference: --
CLI Execution & Inspection
$ apr run kmeans-lloyd --k 8 --input vectors.json $ apr inspect kmeans-lloyd.apr --verify-sha256
Mathematical Formulation
Within-Cluster Sum of Squares
Numerical Contract
WCSS inertia monotonically non-increasing across every Lloyd assignment/update iteration.