Awesome Testing

Learning lesson 07 · Compose local evidence

How does a neural network recognize a shape wherever it appears?

examplepredictionlossgradientchanged parameters

01 · Smallest useful mechanism

Convolution reuses one local detector across an entire image.

A convolution selects a small receptive field, multiplies it element by element with a kernel, and sums the products into one activation. Sliding the same kernel across the image detects the same pattern at many positions. A trained convolutional network learns useful kernels and composes their activation maps into a prediction.

A shared kernel turns local pixel patches into feature maps; deeper stages combine those maps into class evidence.

02 · Experiment

Test the prediction

Exact kernel arithmetic · local trained digit model

The convolution trace uses declared values. The digit classifier runs packaged trained weights locally and exposes activation maps without a remote model.

Loading the vision experiment…

03 · Reason from evidence

The digit model is highly confident on an image with inverted colors, but the prediction is wrong.

Your brief: Build an evidence plan that treats activation maps as clues, not explanations, and confidence as a value to calibrate, not certainty.

Evidence your answer should use

  • Performance on a versioned set of ordinary and inverted images
  • Reliability or calibration results, not a single softmax value
  • Layer activations under controlled image interventions
  • The training preprocessing and the deployed input transform

There is no reveal button here. A strong response names the claim, the evidence that would test it, and what the evidence cannot establish.

Your learning artifact

Write the argument you would defend

Stored only in this browser. No account required; course reset does not delete it.

04 · Check your understanding

What stays the same as a convolutional kernel slides across an image?

Optional referenceDeep dive / reference chapterOpen the complete essay, diagrams, mathematics, exercises, glossary, and sources when you want more depth.

Next: A network can fit the examples it sees. The final lesson asks whether that success transfers beyond them.