NeuroScopeOpen the app

K-means clustering visualizer

Watch k-means find groups in data with no labels - the centres moving and points changing sides, iteration by iteration.

Try it now - freeNo sign-up, nothing to install.

How k-means works

Place k centres. Give every point to its nearest centre. Move each centre to the middle of its points. Repeat until nothing moves.

NeuroScope shows each of those two steps on its own, so you can see why the centres settle where they do - and how a different start can end somewhere else.

Real data, honest scores

Start with 272 eruptions of the Old Faithful geyser (two clear groups), segment 440 wholesale customers, or cluster wheat seeds and compare the clusters with the real varieties.

Each clustering is scored by its silhouette (how tight and well separated the groups are) and, when the true classes are known, by how well it matches them. Try the elbow plot to choose k, then compare with DBSCAN and hierarchical clustering.

Try it in a minute

  1. Press Try it now - Old Faithful and k-means with 2 clusters are set up for you.
  2. Press Fit k-Means and step through the iterations.
  3. Try 3 clusters, or switch to DBSCAN, and compare the silhouette.
Open it in NeuroScope →

Questions

What is a good silhouette score?

From -1 to 1; above about 0.5 means clearly separated groups. Old Faithful reaches about 0.73 with two clusters.

Can I use my own data?

Yes - upload a CSV, set the target to none, and pick a clustering algorithm.

Which clustering algorithms are there?

K-means, DBSCAN and hierarchical (agglomerative) clustering, each with its own step-by-step view.

More to explore

Neural network visualizerWatch a neural network learn - every neuron, weight and gradient, one step at a time, righ...Backpropagation, step by stepForward pass, loss, gradients, update - shown one calculation at a time on a real network ...CNN visualizerSee what a convolutional network looks for - its filters, its feature maps and where it lo...BERT attention visualizerType a sentence and watch a Transformer read it - every attention head, every layer, and w...A machine learning project, without codingBuild it with clicks, then download it as a complete, runnable Python project - code, note...Explainable AI, onlineAsk any model why: which inputs pushed its answer up or down, by how much, and what would ...No-code machine learning, in your browserExplore data, train models and understand them - with clicks, on real datasets or your own...
NeuroScope by RetroGrade ArcAll guidesPricing, refunds & termsPrivacycontact@retrogradearc.com