perceptron
To split triangles from squares with a line, check the points one by one and nudge the line whenever a point is not on its own side, pass after pass until a whole pass nudges nothing.
the points, the line and its two sides
nudges in each pass
- points checked
- 0
- nudges
- 0
step 1 of 1
Examples