Also called the perceptron learning rule and Rosenblatt's perceptron.
fresh numbers
The test's questions that a run answers, asked again on new numbers whenever you like. The answer, its working and the reason for every other choice come from perceptron's own run on the numbers shown.
choose one
1question 1
Points 7 4 s, 2 2 t, 0 10 t and 8 8 s, at step size 0.2. Only the square at 7 4 ever nudges the line, in pass 1. How many checks does the run make?
the answer, and why
the answer is C
Pass 1 nudges, so pass 2 checks every point again. It nudges nothing, and the run stops. Two passes of 4 checks make 8.
if you chose another
AThat is pass 1 alone. It nudged, so one more pass must check the new line.
BThat is all six passes. The run stops at the first pass that nudges nothing, pass 2.
DThat is how many nudges were made, not how many checks.
Three points, 5 6 t, 8 3 t and 1 4 s, at step size 0.6. How many nudges does the run make?
the answer, and why
the answer is B
The triangle at 5 6 stands no steps right of the middle, so it scores 0 under the starting line. A score of 0 is on the line, on neither side, so it nudges. The line becomes 1, 0.6 and 0.6, which has all three points on their own sides. Pass 2 nudges nothing.
if you chose another
AOnly one triangle stands right of the line. The one at 5 6 stands on it, and a point on the line counts as wrong.
CAfter the first nudge the triangle at 8 3 scores 2.4 and the square at 1 4 scores minus 4, both on their own sides.
DOnly the point on the line is wrong. The other two score 3 and minus 4 at the start, each on its own side.