Can it tell when two switches are different?
See why adding a hidden layer can solve patterns a straight boundary cannot, before paying for a larger model.
- Starting information
Switches: off/on and on/off
- Relationship or operation
Both differ; matching switch pairs do not
- Consequence
Lamp on only for different switches
XOR means exactly one input is on. A nonlinear transformation such as ReLU, which replaces negative values with zero, enables boundaries that one straight line cannot express.
Your learning goal
Try all four switch pairs. Find what makes the rule work.