K-means clustering partitions product or query embeddings into a configured number of groups. It learns cluster centroids, assigns items to clusters, and predicts a cluster for a new query. section 9.4.2
Mapping “microwave” to categories
K-means assigns “microwave” to cluster 44, described as a microwave stainless-steel oven category. Related cosine-based clusters include stoves, mixers, coffeemakers, and ranges.






