✦ ✦
Future-Ready · AI and Machine Learning

How machine learning uses examples

During training, a system uses examples to find patterns it can use to make predictions about new inputs.
🔁Training and making a prediction
📚 DATA 🐱 🐶 🐱 🐶 labeled examples 🏋️ TRAINING 🔍 finds the patterns 🧠 MODEL 🧠 learned settings 🎯 PREDICTION 🐱 predicted cat new photo
People choose the task and examples. Instead of listing every feature of a cat by hand, they use a system that learns a pattern from the examples.
🏋️ 1. TRAIN (learn)
Show the computer labeled cat and dog photos. During training, the system adjusts its settings in response to prediction errors.
🎯 2. PREDICT (use)
Now show it something brand new. The trained model uses those settings to predict a label for the photo.
🕸️How a neural network processes an image
🐱 🐶 INPUT HIDDEN UNITS OUTPUT
🕸️ A network of calculations
Input: the new photo goes in on the left.
Hidden: connected units combine numbers from the input and pass results to the next layer.
Output: the model produces scores for the labels “cat” and “dog.”
⚖️Comparing more and less varied training data
✅VARIED DATA
several kinds 🐱🐈🐈‍⬛ 🐈‍⬛🐱🐈 🤖
These examples show different kinds of cats from several angles and with different colors and sizes.
Test on new photos.
⚠️ONE-SIDED DATA
only orange cats 🐱🐱🐱 🐱🐱🐱 🤖 ❓
A black cat appears. If training included only orange cats, this model might predict the wrong label.
😟 Bias can lead to a pattern of errors
🔑Key Terms
🤖Artificial Intelligence (AI) Computer systems that perform tasks such as interpreting images, recognizing speech or predicting a category.
📈Machine Learning (ML) A way to build systems that learn patterns from examples. People still design the training program and choose its goal.
📚Data Information such as photos, recordings, words and numbers.
🏋️Training The process of adjusting a model’s settings using examples and a goal.
🧠Model A system of rules or learned mathematical relationships used to produce an output for an input.
⚖️Bias A systematic tendency in a model or its use that can produce unequal errors or unfair outcomes. Training data is one possible cause.
⭐ Compare how a model handles examples like its training photos and examples that look different. Where do its predictions start to fail?
✏️ ClickClass · How machine learning uses examples
ClickClass offers hundreds of free printables at clickclassedu.com/printables.