Perceptron Decision Boundary

Problem:

The perceptron makes its decision according to:

w₁x₁ + w₂x₂ + b = 0

Change the weights and bias to see how they change the decision boundary.

w₁ 2.00
w₂ 1.00
b -1.00

For AND and OR, the perceptron can find a separating line. For XOR, the boundary keeps changing because no single straight line can separate the two classes.