K-Means Clustering ()

K-Means Clustering

K-Means clustering algorithm built from scratch in Scala, with an interface that visualises the clusters in real time as the algorithm iterates. Grade: 20/20.

University project during the DUT in Computer Science, built entirely solo. What's done • Full K-Means implementation in Scala, with no external libraries • Graphical interface following the MVC pattern • Real-time visualisation: you watch the clusters form, iteration by iteration The visualisation isn't cosmetic: watching the algorithm converge is the best way to understand why it converges, and why it sometimes settles into a bad minimum. Grade: 20/20.

Technologies

  • Scala

Resources

View project