跳到主要内容

Labs · 9618 18.1 · machine learning

Teach a Perceptron

Sort apples from pears with one artificial neuron. Set its weights by hand, then press Train and watch the dividing line learn.

5 levelsFree bench

In the exam

Exam questions on what this lab teaches, with the points that gain marks.

9618/31 October/November 2023 · Question 124 marks

Artificial neural networks have played a significant role in the development of machine learning. Explain what is meant by the term artificial neural network.

Points that gain marks

  1. A part of AI that copies the way a biological brain works.
  2. It has layers of nodes: input, hidden and output layers; many layers can be hidden.
  3. Each connection between nodes has a weight.
  4. Training changes the weights so the results get more accurate.
  5. It can learn by itself and gets better as it gets more data; more hidden layers allow more complex learning.

In this lab: Your neuron is the smallest network: two inputs, two weights and a bias. Training changes the weights after each wrong answer (w ← w + η(y − ŷ)x). Level 5 adds hidden neurons for a problem one neuron cannot solve.

The question as printed in the exam paper

More real experiments

All labs →

登录或创建账户

IGCSE, A-Level & AP