Skip to content
M.U.N.U.O.Data × AI × Systems

Artificial Intelligence Foundations

How Neural Networks Learn

Module 4 of 10

Learning objectives

  • Explain the ideas behind how neural networks learn.
  • Apply the ideas to the example and identify how you would check the result.

Concepts

A loss function scores prediction error. Backpropagation applies the chain rule to calculate how the loss changes with each parameter. An optimizer uses the gradients to adjust parameters.

Practical example

Train a one-parameter model and compare its behavior with small and excessive learning rates.

Try the exercise
  1. Define the task. Train a one-parameter model and compare its behavior with small and excessive learning rates.
  2. Identify the key idea. A loss function scores prediction error.
  3. Check your decision. Describe an alternative and how you would compare its results.
Open the interactive lab

Knowledge check

What does backpropagation calculate?

What does learning rate control?

What may happen at an excessive learning rate?