الانتقال إلى المحتوى

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

9618/31 October/November 2023 · Question 12 · 4 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

  • A part of AI that copies the way a biological brain works.
  • It has layers of nodes: input, hidden and output layers; many layers can be hidden.
  • Each connection between nodes has a weight.
  • Training changes the weights so the results get more accurate.
  • 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.

More real experiments

All labs →

تسجيل الدخول أو إنشاء حساب

IGCSE, A-Level & AP