5 ms·
Some while back I implemented k-means in JavaScript. It's a really simple, straight forward algorithm which makes sense to me, as a visual thinker and a non-mat
by kamilafsar 13y ago
Some while back I implemented k-means in JavaScript. It's a really simple, straight forward algorithm which makes sense to me, as a visual thinker and a non-mathematician. Check out the implementation here:
https://github.com/kamilafsar/k-means-visualizer/blob/master/k-means.js https://github.com/kamilafsar/k-means-visualizer/blob/master...