IntermediateAbout 20 min

    Neural Network Playground (Build & Train)

    Read the full article on Substack

    7 min read.

    Design your own network architecture — pick depth and width — then watch it train live on the XOR problem, and see why hidden layers are required to learn non-linear patterns.

    Inputx1x2H1Outputŷ

    Untrained: 2 of 4 XOR cases right, loss 0.268.

    Check your understanding

    Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.

    Debug a network that will not learn

    Sequence

    Order the checks from cheapest to most expensive.

    Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.

    1. 1Drop a step here
    2. 2Drop a step here
    3. 3Drop a step here
    4. 4Drop a step here
    5. 5Drop a step here
    6. 6Drop a step here
    6 pieces left to place

    Quiz

    20 questions
    Question 1 of 20
    Score: 0

    In a feedforward neural network, each neuron computes its output by:

    Done with this lesson?

    Sign in free to keep your progress, streak and quiz scores.

    Keep going