The XOR problem & multi-layer networks

Step 2 of 14 in Deep Learning · Concept · Easy

A single perceptron can't learn XOR because no straight line separates it. Adding a hidden layer bends the space so it can.

Build it

  1. Solve XOR

    Show a perceptron fails on XOR, then hand-pick weights for a 2-2-1 network that solves it.

    Done when: Truth table printed; you draw the hidden-layer space.

Case study: Minsky & Papert's 'Perceptrons' (1969)

  • Proved single-layer limits like XOR; read as a verdict on all neural nets.
  • Funding dried up for over a decade.
  • Backprop for multi-layer nets (1986) revived the field.

Read the case study

Resources

Earn this star

On the map, you log what you built. Finish the step and its star lights.

Open this step on the map