IntermediateAbout 20 min

    Backpropagation

    Read the full article on Substack

    7 min read.

    Step-by-step visualization of how neural networks learn through backpropagation and gradient descent.

    0.8x10.6x2?h1?h2?h3?ŷtarget 0.9

    1. Input. The input enters the network. The target output is 0.9.

    x = [0.8, 0.6], target y = 0.9

    Epoch 0

    Check your understanding

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

    One forward-backward pass

    Sequence

    Order a full training step.

    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

    21 questions
    Question 1 of 21
    Score: 0

    Backpropagation calculates the gradient of the loss function with respect to:

    Done with this lesson?

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

    Keep going