1. Generate training data

Generate N random points and draw a line which separates them into two groups using the buttons below.

Information about the slope and intercept of the line is shown to the user under the buttons.

Slope:

Intercept:

2. Train a perceptron to classify the points over and under the line.

No information about the slope and intercept of the separating line is given to the perceptron.

Yet it can classify the points over and under the line after training with high accuracy.