Skip to content

Commit 5a41865

Browse files
authoredFeb 20, 2023
Add links for code examples for K-Means clustering
1 parent af08253 commit 5a41865

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎src/algorithms/ml/k-means/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ _Image source: [Wikipedia](https://en.wikipedia.org/wiki/K-means_clustering)_
3030

3131
The centroids are moving continuously in order to create better distinction between the different set of data points. As we can see, after a few iterations, the difference in centroids is quite low between iterations. For example between iterations `13` and `14` the difference is quite small because there the optimizer is tuning boundary cases.
3232

33+
## Code Examples
34+
35+
- [kMeans.js](./kMeans.js)
36+
- [kMeans.test.js](./__test__/kMeans.test.js) (test cases)
37+
3338
## References
3439

3540
- [k-Means neighbors algorithm on Wikipedia](https://en.wikipedia.org/wiki/K-means_clustering)

0 commit comments

Comments
 (0)
Please sign in to comment.