Skip to content

Finding structure when nothing is labeled

Discover answers questions that have no outcome column. Learn which question you are asking, and what you can and can't conclude from the answer.

Introductory ~9 min7 steps

You will be able to

  • Tell a Discover question apart from a prediction question
  • Match a question to one of the seven Discover intents
  • Explain why there is no test score that says an unsupervised answer is right
01

No outcome to predict

Read

In Model you give the app a target and it learns to predict it. A held-out set then tells you how well that went.

Discover has no target. Unsupervised learningUnsupervised learningFinding structure in data with no outcome column to predict, so there is no answer key to score against. looks for structure in the rows or columns themselves: groups, unusual rows, a simpler way to draw the data.

That freedom has a price. No answer key exists, so an algorithm will always return something. Clusters appear even in pure noise. Your job shifts from "how accurate is it?" to "is this real, is it stable, and can I use it?"

02

Which question is this?

Predict

Predict first

A subscription business has a churned column and wants to know which current customers are likely to leave next month. Which page fits?

Predict it: use ModelDiscover it: there is no target
Reveal

Model. The outcome is recorded, so you can train on past churn and check predictions on held-out customers. Discover would ignore the very column that answers the question. If the same business instead asked "what kinds of customers do we have?", no column holds the answer, and that is a Discover question.

03

Seven questions, seven intents

Read

Discover starts from what you want to know:

IntentThe question
Find segmentsWhich groups of similar rows are there?
Spot anomaliesWhich rows don't look like the rest?
Map the dataWhat does the data look like in two dimensions?
Co-occurring itemsWhich items appear together?
Topics in textWhat do these texts talk about?
Journeys & sequencesIn what order do things happen?
Do the groups separate?Do known groups differ across many variables at once?

The last one is different: you already know the groups and are testing them, so it runs significance tests. The Multivariate Methods track covers it.

04

Choose the intent

Checkpoint

Check yourself

You have 40,000 support tickets as free text and want a summary of what people complain about. Which intent fits?

Show the answer

Answer: c

Topic models work on a text column and return groups of words that occur together, along with each document's mix of topics.

Check yourself

You have no labeled fraud cases, but you want a short list of transactions worth a human look. Which intent fits?

Show the answer

Answer: b

Anomaly methods score how unusual each row is and hand you the top of the list. They find what is unusual, which may or may not be fraud, so a person still reviews the list.

Check yourself

k-means returns five tidy clusters with a clean-looking chart. What does that tell you on its own?

Show the answer

Answer: c

Tidy output is guaranteed by the algorithm. Evidence of real structure has to come from elsewhere: a tendency check, stability under resampling, and whether the groups mean something.

05

How you judge an answer

Reflect

Without an answer key, you collect several weaker kinds of evidence. Discover has a place for each:

  • Before: the Checks step can test whether the rows clump at all.
  • Internal scores: silhouetteSilhouette scoreHow well each point sits in its cluster compared with the nearest other cluster, from −1 to 1. and friends measure how compact and separated the groups are.
  • Stability: do the same groups return when the data is resampled?
  • Known groups: if a label exists, hold it out of the fit and compare with the adjusted Rand indexAdjusted Rand indexAgreement between two clusterings corrected for chance; 0 is random, 1 is identical..
  • Usefulness: can you name the groups and act on them?

Think of a segmentation you have seen used at work. Which of these did it have?

06

Walk through it

In the app

Try the full flow on penguins: choose features, cluster, profile the groups, then save the segments as a new dataset version. Every step happens in the real page.

Palmer penguins

The page follows the same four steps every time: Data, Features, Method, and for some intents Checks. A run opens on a Result tab, with Code and Runs beside it.

07

Recap

Recap
  • Discover answers questions that have no outcome column; Model answers questions that do.
  • Unsupervised methods always return something, so a tidy output is not evidence.
  • Judge an answer from several angles: tendency, internal scores, stability, known groups and usefulness.

Concepts in this lesson