← Back to course
Applied AI / Week 01 / Tuesday
2/6
Week 01 Β· What AI Is

Tuesday

Learning from patterns
// Patterns, predictions and the next word
⏱ about 15 min

Tuesday: Learning From Patterns

Maya watches her son type a math question into the homework helper. It answers with a neat set of steps.

"How does it know this?" he asks.

Maya is not sure what to say. Does it know math the way his teacher does? Or is something else going on?

Machine learning finds patterns

AI4K12 is a project of two education groups, AAAI and CSTA, that sets out five big ideas for teaching AI.

One of those ideas is that computers can learn from data. Machine learning is a kind of statistical inference that finds patterns in data.

To find those patterns, a system needs a very large amount of data. This training data must usually be supplied by people.

StepWhat happens
1. CollectPeople gather a very large set of examples: text, photos or recordings.
2. TrainThe system looks for patterns across all those examples.
3. UseGiven something new, the system uses the patterns to predict or suggest.
PUT THE STEPS OF MACHINE LEARNING IN ORDER
  • ?The system looks for patterns in the examples.
  • ?People gather a large set of examples.
  • ?The system uses the patterns to make a prediction.
  • ?You give the system something new.
WHY THIS EXERCISEEvery output depends on the examples that came before it.

Patterns, not a mind

AI4K12 adds an important point. AI systems can reason about very complex problems, but they do not think the way a human does.

So the homework helper is not a tutor who understands your child. It is a system that found patterns in a huge amount of text.

That is why its answers can be useful and still be wrong. You will see much more of this in week 2.

StatementTrue or false?
Machine learning finds patterns in data.?
Training data is usually supplied by people.?
An AI tool thinks about a problem the same way a person does.?
A machine learning system needs only a few examples to work well.?
WHY THIS EXERCISESeeing AI as a pattern finder, not a mind, is the base for everything else in this course.
The large set of examples a system learns from is called ____ data.
Machine learning finds ____ in data.
AI tools do not ____ the way a human does.
WHAT WOULD YOU TELL MAYA'S SON?
  • Read the question.
  • Tap your answer.
Which answer best explains how the homework helper "knows" math?
If the patterns in the data were wrong or thin, what could happen?

Sources: AI4K12, Five Big Ideas in Artificial Intelligence (poster, version 2)

Tomorrow: generative AI, the kind that writes and makes pictures, and how it chooses each word.

← Monday