Perceptron Interactive Demo
Click to add points, train the perceptron, and watch it learn to classify!
How to use:
- Select a class (Blue or Red) and click on the canvas to add training points
- Add several points of each class in different areas
- Click "Train Perceptron" to watch it learn the decision boundary
- Test with new points to see how well it classifies!
Training Canvas
Add points as:
Training Points:
0
Epochs:
0
Accuracy:
N/A
Perceptron Details
Decision Function:
output = sign(w₁×x + w₂×y + bias)
Weight 1 (w₁):
0.000
Weight 2 (w₂):
0.000
Bias:
0.000
Learning Rate:
0.1
Ready to train! Add some points and click 'Train Perceptron'