Part IV

Neural Networks.

A neural network built from nothing, one piece per chapter, until it recognises pictures of clothing. Every chapter comes with a short Python file that runs on its own.

Read first
Chapters 1 to 4 and 6, and the toolkit chapters on vectors and derivatives.
Chapters
8 of 10 published, about 130 minutes of reading
  1. 14
    A Single Neuron

    What is the simplest part of a neural network, and what can it do on its own?

    14 min · builds on Logistic Regression

  2. 15
    Layers and Activations

    If one neuron can only draw a straight line, how does a network draw anything else?

    17 min

  3. 16
    Scoring a Classifier

    A network outputs three numbers. How do we say how wrong they are?

    14 min · builds on Logistic Regression

  4. 17
    Backpropagation

    The network is wrong. Which of its thousands of weights should change, and by how much?

    19 min · builds on Gradient Descent, Derivatives and Gradients

  5. 18
    Optimizers

    Backpropagation gives exact gradients. Why was training still so slow?

    18 min

  6. 19
    Keeping Networks Honest

    The network scores 96% on its training data. Why is that not good news?

    17 min · builds on Generalization, Regularization

  7. 20
    One Network, Many Jobs

    The network so far picks one class out of three. How does it predict a number, or answer yes or no?

    14 min

  8. 21
    A Real Dataset

    Does the network we built on toy spirals work on real pictures?

    18 min

  9. 22
    Convolutional Networks

    Filters that slide over an image to find patterns.

    Coming soon

  10. 23
    Sequences and Attention

    How networks read text, and the idea behind the transformer.

    Coming soon

Search

    The Book of Machine Learning
    Search
    Reading settings
    Text size
    Colours

    Saved in this browser only.

    Keyboard shortcuts
    /
    Search the book
    ← →
    Previous and next chapter
    g
    Glossary
    c
    Table of contents
    e
    Jump to the exercises
    t
    Reading settings
    ?
    Show this list
    Esc
    Close a window or pop-in