Saltar al contenido

Labs · 9618 18.1 · back-propagation

Inside a Neural Network: Back-propagation

Set the weights of a neuron by hand, join neurons to solve XOR, then let back-propagation find the weights itself. Every sum, δ and weight change is shown with its numbers.

5 levelsFree bench

In the exam

9618/31 October/November 2021 · Question 9(a) · 5 marks

(i) State the reason for having multiple hidden layers in an artificial neural network. (ii) Explain how artificial neural networks enable machine learning.

Points that gain marks

  • (i) A harder problem needs more layers; more layers allow deep learning and a more accurate result.
  • (ii) A neural network copies the way a human brain works.
  • (ii) Each connection between nodes has a weight.
  • (ii) The data goes in at the input layer and is worked on in each hidden layer; the output layer gives the result.
  • (ii) Back-propagation of errors corrects the weights, and training repeats this many times to get the best outputs.
  • (ii) After training it makes decisions without being programmed for each case.

In this lab: Level 2 shows why a hidden layer is needed: one neuron cannot do XOR, but two hidden neurons can. When you train, every round sends the error back (δ) and changes each weight by −η·δ·input.

More real experiments

Iniciar sesión o crear cuenta

IGCSE, A-Level & AP