DField SolutionsMérnöki stúdió · Budapest
Loading · Töltődik
Skip to content
Category: Unsupervised ML

Klyra

Find the groups that were always there.

What it is

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.

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.

What's inside

The full source, the tests, and CI. Open it, read it, change it. A zero-dependency core, free, in the MIT spirit.

Run it after unzip

pnpm install && pnpm dev