DFIELDSOLUTIONS

Free software

LabKlyra: Find the groups that were always there

Lloyd's algorithm with k-means++ seeding, inertia, and best-of-N restarts, animated to convergence. 13 tests anchored on the monotonic-inertia guarantee and >95% recovery of well-separated blobs.

Free software1 sections · 2 min readBy Dezső Mező.mdFree softwareKlyra

Klyra is an animated k-means clustering tool that discovers natural groupings in a set of points and runs the algorithm to convergence before your eyes. The signature technique is Lloyd's algorithm with k-means++ seeding, inertia tracking, and best-of-N restarts, anchored by tests on the monotonic-inertia guarantee and reliable recovery of well-separated blobs. It is a from-scratch, dependency-light build you can download and run locally.

01About the app

Unsupervised ML

What to take away

  • Lloyd's algorithm with k-means++ seeding, inertia, and best-of-N restarts, animated to convergence. 13 tests anchored on the monotonic-inertia guarantee and >95% recovery of well-separated blobs.
  • Download: Klyra (ZIP)
We build this for clientsFull-stack

Read the full write-up

More from the lab

Browse all entries

Want this looked at on your own system?Start a conversation

5.0
“New shop, more orders in the first week.”Müller Márk · GeekCornerManaging Director · Hungary