← Back to course
5/6
Week 04 Β· Representation and Reasoning

Friday

Representations all around us
// From feature tables to decision trees
⏱ about 20 min

Friday: Representations All Around Us

On their break, Rocket studies the station's bus timetable. "Hey, this is a feature table too!"

Each row is a stop. Each column is a time. Raven reads it and says, "So the next bus reaches the dome at 3:40."

"You reasoned from a representation," Nova says, circling the poster. "The table stored it, and you worked it out."

Raven points to a closed stop on the map. "But the timetable does not show that. A representation can go out of date."

Rocket nods slowly. "So Sky Sorter is only as good as its table."

Everyday representations

People use representations every day: maps, timetables, recipes and score charts.

Each one stores some facts and leaves others out.

We reason with them to get new answers, like which route is shortest.

Computers do something similar with data structures, but they do not think the way a human does.

RepresentationWhat it storesWhat you can reason out
A bus timetableStops and timesWhen to leave home
A mapPlaces and roadsThe shortest route
A team score chartPoints for each gameWhich team is ahead
The Sky Sorter tableBrightness, size and streakA label for each snapshot
NAME THE REPRESENTATION
  • Read the question.
  • Tap your answer.
You check a chart of each day's high temperature to pick the warmest day. What are you reasoning from?
A map does not show a road that closed yesterday. What is the problem?
REASON WITH A TIMETABLE
  • ?Follow that row to your stop.
  • ?Find the next departure time after now.
  • ?Read the arrival time.
  • ?Find the stop you are leaving from.
WHY THIS EXERCISEReasoning from a representation is a sequence of small steps.

Week review

Week reviewTrue or false?
A feature table is a data structure.?
Reasoning derives new information from what is already known.?
A decision tree can be written as a flowchart or as pseudocode.?
In version 1, the brightness test comes first.?
Sky Sorter understands the night sky the way an astronomer does.?
WHY THIS EXERCISEThese are the big ideas of the week.
An organized way to store data is a data ____.
Plain, code-like steps are called ____.
A cut-off number like "8 or more" is a ____.

Version 1 got card E wrong. Next week the crew asks a big question.

Should people keep writing rules by hand, or can the sorter learn its rules from examples?

Card E was labeled wrong. What is its brightness value?
WHY THIS EXERCISEFinding a mistake, and the number behind it, is the first step to improving a model.

Superb week, explorer! Tomorrow your family builds a decision tree together.

← Thursday