Posts with the #rust tag
Rust implementation of K-Means
I got an assignment for this week: write the K-Means algorithm, in any language you like. So, first, we have to understand what it does and how it works. What is K-Means? k-means clustering is a method of vector quantization, originally from signal processing, that aims to partition n observations into k clusters in which each observation belongs to the cluster with the nearest mean (cluster centers or cluster centroid), serving as a prototype of the cluster. [1]