← Back to course
5/6
Week 06 Β· Train, Test, Refine

Friday

When the data changes
// Measuring how well Sky Sorter really works
⏱ about 20 min

Friday: When the Data Changes

Mission control installs a sharper telescope camera. The pictures look amazing, and every object now measures one pixel wider.

By lunchtime, Sky Sorter is calling stars planets all over the place.

"Nothing in the pseudocode changed!" Rocket says. "Why is it getting worse?"

Raven compares old and new cards side by side. "The data changed. A size 3 star now measures size 4."

Nova dims her lights thoughtfully. "A sorter learns from the data it was given," she says. "When the world changes, it may need new data."

The crew starts labeling a fresh batch.

Data can change over time

AI systems may be trained on data that changes over time.

When that happens, how well they work can change too, in ways that are hard to understand.

That is one reason teams keep testing, even after a system is finished.

Real AI is a tool people build. It does not notice on its own that the world has changed, and it can be wrong.

CardTrue labelSize on old cameraSize on new cameraVersion 3 label (new camera)
S1star34planet
S2star23star
S3planet67comet
S4planet45planet
How many of the four cards does version 3 get right with the new camera?
What is that as a percent?
WHAT SHOULD THE CREW DO?
  • Read the question.
  • Tap your answer.
Sky Sorter got worse after the camera changed. What is the best next step?
Card S3 is a planet, but version 3 called it a comet. Why?

Week review

Week reviewTrue or false?
Machine learning needs tremendous amounts of training data.?
The test set is used to choose the sorter's cut-offs.?
Accuracy is the number right divided by the total tested.?
Data that changes over time can change how well an AI system works.?
Once a sorter scores well, it never needs testing again.?
WHY THIS EXERCISEThese are the big ideas of the week.
THE TRAIN, TEST, REFINE LOOP
  • ?Train the sorter on the training set.
  • ?Collect and label training data.
  • ?Test it on held-back cards and measure accuracy.
  • ?Test again on fresh cards.
  • ?Refine using new or better training data.
WHY THIS EXERCISEThis loop is how the crew keeps Sky Sorter honest.
What do we call how many answers were right out of the total?
WHY THIS EXERCISEAccuracy is the measure the crew uses to compare every version.

Next week the crew looks harder at its training data.

What if some kinds of snapshots were left out of it on purpose, or by accident?

Outstanding week, explorer! Tomorrow your family trains and tests a guesser together.

← Thursday