Streaming Algorithms for k-Means Clustering with Fast Queries
Least squares quantization in pcm