APR-CLU-002 // apr-v2-f32
K-Means++ D2-Seeded
D^2-weighted centroid initializer guaranteeing O(log k) expected approximation ratio before Lloyd refinement.
Runtime: Loading .apr...
Inference: --
CLI Execution & Inspection
$ apr run kmeans-plusplus --k 16 --seed 7 --input vectors.json $ apr inspect kmeans-plusplus.apr --verify-sha256
Mathematical Formulation
D-Squared Sampling Probability
Numerical Contract
Expected inertia <= 8(ln k + 2) * OPT; reproducible centroid IDs for fixed ChaCha20 seed.