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.

K-Means++ D2-Seeded architecture poster

Runtime: Loading .apr...

Inference: --

Artifact Format
apr-v2-f32
Parameters
16 centroids x 128d
Family
clustering

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

P(x)=D(x)2∑x′D(x′)2

Numerical Contract

Expected inertia <= 8(ln k + 2) * OPT; reproducible centroid IDs for fixed ChaCha20 seed.