← AI Foundations

How do models combine clues?

Explore how colour and shape influence an inspectable weighted decision.

Our previous model used labelled examples. Now we will investigate how several clues can contribute to one decision. This is one hand-adjusted decision unit, not a trained neural network.

How this lesson works: Engage, Explore, Explain, Elaborate, Evaluate
Extra examplesYour teacher may tell you which.
EngageCommit to a prediction before you test anything. A wrong guess is fine: it shows you what to look for.

Engage: Predict

A fruit is yellow but round. Is colour alone enough to identify it?

ExploreTry it on the board and compare what happens with your prediction.

Explore: Combine clues

Predict the result before testing a green, round fruit and a yellow, long fruit. Then try a yellow, round fruit. Change the colour and shape weights using More and Less. These are weights you set by hand, not weights learned from examples. If the score is exactly 0, the two clues cancel out and the unit says unsure.

Try it yourselfYour edits are saved in this browser.

Test at least two fruit descriptions.

Use the board. This ticks when you get there.

ExplainPut a name to what you saw, and why it works.

Explain: Which clues matter?

Which clues contribute to the score?

Why can changing a weight change the prediction?

Why might the prediction still be wrong?

Real neural networks can learn many interacting weights from examples and use layers to represent more complicated patterns. Our board shows only combining features, not neural-network training.

What happens when you increase the colour weight?

Set the colour weight to 0 and the shape weight to 2. What does the unit predict for a yellow, round fruit?

Elaborate Extra · typicalUse the idea in a new situation.

Elaborate: Change the decision

Find two settings that produce different predictions for the same yellow, round fruit. Explain what changed and what did not change.

Wider investigation: Could two different fruits share both clues? Suggest a third clue. Why would that still not guarantee a correct answer?

Try it yourselfYour edits are saved in this browser.

EvaluateLook back at your first ideas and what changed.

Evaluate: Check the output

Without the board, explain how changing the importance of a clue can affect a prediction.

With colour weight 3 and shape weight 1, the unit calls a yellow, round fruit a banana. What does this show?

EvaluateLook back at your first ideas and what changed.

Learning with AI: hidden weights

Here you could see both weights and change them. A real AI weighs millions of clues, and nobody can read all its weights. A clue that is weighted too heavily can tilt its answer the wrong way, just as colour did here. So treat its answer as a prediction to check, not a fact.

Now you can
Next lesson7. Can a neural network learn?Train a tiny neural network, see its connections change, and test whether it has learned from examples.
For teachers

How do models combine clues? Students predict, test and explain a transparent fruit classifier. About 30 minutes.

Open the teacher guide: answers, solutions, slides and a worksheet.

Students will be able to

Before class

Use the board without accounts. It is one hand-adjusted decision unit, not a trained neural network. The score is colour weight × (+0.5 for yellow, −0.5 for green) + shape weight × (+0.5 for long, −0.5 for round). Above zero is banana, below zero is apple, and exactly zero is "unsure" (a tie: the clues cancel out). Optional extension, with school approval: train an image classifier in the Pattern Trainer (https://tools.learningwaypoints.com/trainer/, photos stay on the computer; Teachable Machine also works) and test unfamiliar photos. Unlike the hand-adjusted unit, the image model learns its weights from examples.

Running the lesson

  1. Ask for a prediction before each test.
  2. Have students change one factor and explain the result.

The hard part (on purpose)

Students may treat a model label as proof.

When students get stuck

Stretch and support

Stretch: Find every weight setting that makes a yellow, round fruit a tie. What do they have in common?

Support: Model one prediction and one test.

Where it leads

Unit 2, lesson 4 lets a tiny neural network learn its own weights from examples.