Concept

The XOR Problem

It is easy to build a perceptron that computes the logical functions OR and AND, however it is impossible to build one that computes logical XOR. This is because the perceptron is a linear classifier which acts as a decision boundary in two-dimensional space.

Whilst OR and AND are linearly separable functions, XOR is not, it is impossible to draw a straight line that correctly separates its two categories. As shown in the figures below where x1x_1 and x2x_2 are inputs into the logical functions; filled circles represent outputs of 1, and white circles outputs of 0.

Image 0

0

1

Updated 2021-10-23

Tags

Data Science