← Back to course
AI Explorers 6-8 / Week 06 / Wednesday
3/6
Week 06 Β· Train, Test, Refine

Wednesday

Explorer Lab: Open the envelope
// Measuring how well Sky Sorter really works
⏱ about 20 min

Wednesday: Explorer Lab: Open the Envelope

Raven breaks the seal on the envelope and fans out eight test cards. "No peeking at the labels yet."

Rocket covers the label column with a strip of paper. "Version 2 goes first. I will read the numbers."

Nova hovers over the score sheet. "Write each answer before you uncover the label," she says.

"That way nobody is tempted to change an answer."

Rocket slides the paper down one row. Raven reads the first card aloud.

They both lean forward to see what Sky Sorter says.

Your mission

You will test Sky Sorter version 2 on eight held-back cards.

Then you will measure its accuracy and look closely at its mistakes.

  • Eight index cards, copied from the table below
  • A strip of paper to cover the true labels
  • A pencil and the version 2 pseudocode
SKY SORTER, VERSION 2
IF streak is yes THEN label = "satellite streak"
ELSE IF size >= 8 THEN label = "comet"
ELSE IF size >= 4 THEN label = "planet"
ELSE label = "star"
  1. Cover the true label column with your strip of paper.
  2. Run card T1 through the pseudocode. Write the version 2 label.
  3. Repeat for cards T2 to T8 without uncovering any labels.
  4. Now uncover the true labels. Mark each card right or wrong.
  5. Count the right answers and work out the accuracy.
CardBrightnessSizeStreak?Version 2 labelTrue label
T11302nostar
T22205noplanet
T310010nocomet
T42001yessatellite streak
T51804noplanet
T62353nostar
T71507nocomet
T8903noplanet
PREDICT FIRST
  • Read the question.
  • Tap your answer.
Version 2 got 10 out of 10 on its training cards. Predict its score on the test cards.
Version 2 label for T7
Version 2 label for T8
Number right out of 8
Accuracy as a percent
Card T7 is a comet that version 2 called a planet. What is T7's size?
WHY THIS EXERCISESmall comets fall just under the size 8 cut-off, which points to what to refine.
Lab findingTrue or false?
Version 2 scored lower on test cards than on training cards.?
Both mistakes involved cards with no streak.?
Version 2 got every satellite streak wrong.?
WHY THIS EXERCISEPatterns in the mistakes tell you where to improve the sorter.

Superb testing! Tomorrow we refine Sky Sorter and test it again, fairly.

← Tuesday