Updating k-means centers with small batches

Mini-batch k-means updates centers from subsets of observations, reducing work per update.

MiniBatchKMeans in practice

Fit centers from small batches of a large vector collection and measure distances on a holdout. A tiny customer segment may rarely enter a batch.

中文

小批量 K 均值如何减少每轮成本?

MiniBatchKMeans 用样本小批次近似更新中心,让每次更新只读取部分记录。

MiniBatchKMeans 应用实例

千万条向量先抽小批试算中心,再用留出集测距离。非常小的客户群可能很少入批,速度提升并不保证能找到它。

References / 参考来源

Keep reading / 继续阅读