Back to Discover
Curiosity

Can a Machine Discover Hidden Groups?

How an unsupervised algorithm like k-means turns feature vectors into discrete clusters, and why its verdict is real for some shapes and unreliable for others.

Before you enter

A complete interactive classroom, not just a preview.

Start when you are ready to enter this Stage's 8 scenes and explore, respond, and learn as you go.

8
Scenes
16 min
Estimated
Content language: en-US
Start this Stage
Sign-in may be required to play
What happens inside
  1. 01Sixty Points, Zero Labelsslide
    Question

    Introduce the driving question: a scatter plot of 60 unlabelled points is shown, and learners are asked what structure, if any, a machine could find without being told the categories.

    • The dataset has no labels, no legend, and no hint of how many groups exist
    • Only the (x, y) coordinates are available to any algorithm
    • The challenge is to discover hidden groups from geometry alone
  2. 02Your First Guessquiz
    Prediction

    Learners commit to whether a machine can recover hidden groups from the 60 unlabelled points before any algorithm runs.

    • One independent choice: yes or no, with reasoning
    • The guess is locked in before any evidence is shown
  3. 03Watch K-Means Partition the Pointsinteractive
    Evidence

    A 2D scatter is animated step by step: random centroids are placed, every point is coloured by nearest centroid, centroids recentre, and the bands stabilise into k regions.

    • Each iteration reassigns points to their nearest centroid
    • Centroids migrate to the mean of their assigned points
    • The final colour bands reveal the algorithm's partition
  4. 04Stress-Test the Algorithminteractive
    Evidence

    Learners reshape the dataset — wide and narrow blobs, overlapping rings, unequal sizes — and re-run k-means to see where it succeeds, distorts, or invents fake groups.

    • Tight, round blobs are recovered cleanly
    • Concentric rings are sliced radially instead of being recognised
    • Unequal clusters are split or merged against the real structure
  5. 05Why It Works — and Why It Failsslide
    Explanation

    Explain that k-means minimises within-cluster sum of squared Euclidean distances, so it favours convex, similarly sized blobs; non-spherical or overlapping groups violate that implicit assumption.

    • The objective function rewards compact, equally sized balls
    • Distance metric and k are user choices, not discovered truths
    • Different seeds can yield different partitions of the same data
  6. 06Apply It to a New Domaininteractive
    Transfer

    Learners change the simulation to a customer-feature scatter (age vs. spend) and decide whether k-means is the right tool, choosing k and justifying the partition.

    • Translate the geometry intuition into a business context
    • Defend a chosen k against alternatives
    • Recognise when k-means imposes structure that may not exist
  7. 07Where the Answer Stops Being Yesslide
    Boundary

    Define the boundary: k-means discovers hidden groups only when groups are roughly globular, similarly sized, and separable in Euclidean space; beyond that, the 'discovery' is the algorithm's projection, not a fact.

    • Boundaries include rings, manifolds, and nested density
    • High dimensionality stretches Euclidean distance until it loses meaning
    • Outside these bounds, the machine is inventing structure rather than finding it
  8. 08Yes — Within Strict Limitsslide
    Resolution

    Resolve the driving question: a machine can discover hidden groups when the geometry matches the algorithm's assumptions; otherwise it imposes order rather than uncovering it.

    • Yes, for compact, similarly sized blobs separated by clear gaps
    • No, for rings, nested density, or arbitrary k choices
    • The algorithm reveals structure, but the structure it reveals is partly its own
Discussion

Discussion threads for a Stage aren't available yet.

Where this leads
Explore more

More in Technology & Computing

See all