Skip to content
Exit presentation

AI Literacy II: Training and Decision Trees

Track quiz

Before the questions, here is each idea in one line.

Each idea in one line
IdeaThe line to keep
Both at onceSort a machine by two facts. Did a person write the rule? Did a part learn from examples?
TrainingThe rule is learned from the pile. When the pile changes, the rule changes.
A decision treeA decision tree asks one yes/no question at a time. Two things that end up together gave the same answers.
What it learned fromAsk what a machine was shown. Pictures and video usually mean computer vision. Words and speech usually mean NLP. Tables of numbers usually mean data science.
Following it backThe path is the questions it was asked, in order.

A car park barrier reads plates with a learned part. It also checks a typed list. Which bin?

  • Written rule only, because the list lifts the barrier
  • Both, because one part learned and a person wrote the other
  • Learned only, because reading plates is the hard part

What makes a crate a labelled example?

  • It has been counted and put in a table
  • Its answer, full price or cut price, is already on it
  • It is the next crate the rule will guess

Two more crates are added to the pile. They disagree with the rule. What can happen?

  • The rule is learned from the new pile, so it can change
  • The rule stays fixed, because a rule is worked out once
  • The rule stops working, because the pile is too big

A program says each crate is full price or cut price. What is that called?

  • Classification, because the answer is a group
  • Regression, because the answer is a price
  • Automation, because nobody presses a button

A program guesses the kilos of tomatoes a stall will sell tomorrow. What is that called?

  • Classification, because it sorts the days
  • Regression, because the answer is a number
  • Automation, because it runs by itself

A chain of three yes/no questions, each no leading to the next. How many ends?

  • Three, one for each question
  • Four, because each new question splits one end in two
  • Six, because each question has two answers

You chose every question in a tree yourself. Is it a written rule or a learned one?

  • Written, because a person chose the questions
  • Learned, because every decision tree is AI
  • Neither, because a tree is only a picture

Eight things are in a box. One question takes out the two that say yes. How many are left?

  • Two
  • Six
  • Eight

A phone unlocks when it sees your face. Which kind of AI work is that?

  • Computer vision, because it was shown pictures
  • NLP, because faces have names
  • Data science, because a phone stores numbers

A dairy guesses next month's orders from its past months. Which kind of work?

  • Computer vision, because a table is a picture
  • NLP, because the table has words in it
  • Data science, because it finds patterns in organised numbers

A tree sends a tray of paneer to the open shelf. The list says cold cupboard. Where is the mistake?

  • In the walking, because the tree took a wrong turn
  • A question is missing, so paneer looks like a tin of oil
  • In the list on the door, which was written wrongly

A tree is right about all eight things you checked. What does that promise about the next thing?

  • That it will be right, because eight of eight is perfect
  • Nothing, because the next thing was not checked
  • That it will be wrong, because trees fail on new things

You can now take a machine apart with two questions. What was it shown, and who chose the rule?

Next comes Three Kinds of Guess, and Their Data.

Jump to lesson

This track

  1. 0 Start here
  2. 1 A written rule and a learned part, in one machine
  3. 2 Showing it examples that carry their answers
  4. 3 A chain of yes/no questions that sorts a pile
  5. 4 What kind of examples did it learn from?
  6. 5 Following a wrong answer back
  7. 6 The big picture
  8. 7 Track quiz

Other tracks