LOGBOOK

HELP

Quiz Entry - updated: 2026.11.25

How does a neural network learn to classify, for example, a polyp image?

It predicts a label (y'), compares it with the correct label (y) through a loss function L(y', y), and adjusts its weights to reduce the error, over many examples.

Training loop: input, network, prediction y', loss against true label y, weight adjustment, repeat

* Supervised training: guess forward, measure the error with the loss, adjust the weights backward, repeat *

Take a network that should recognise a sessile serrated adenoma on endoscopy images:

  1. Input: the image is fed in as features x₁ … xₙ.
  2. Prediction: the network outputs a guess y', for example "ball" or "hyperplastic polyp".
  3. Compare: the guess is compared with the true label y = "sessile serrated adenoma" through a loss function L(y', y) that measures how wrong it was.
  4. Adjust: the weights are changed slightly to make the error smaller.
  5. Repeat with many labelled images until y' matches y reliably.

This is supervised learning. The network never "understands" what a polyp is; it tunes numbers until its outputs match the labels. So the quality of the labels sets the ceiling on the quality of the model.

Go deeper:

From Quiz: ETHIK / AI and Machine Learning Foundations for Ethical Judgement | Updated: Nov 25, 2026