Knowledge Sprint SeriesMT24 Learning

Phase 10 · Summary · Sprints 31–32 of 90

Neural Networks

from one straight line to a trained network

A line that fails, a hidden layer that bends, and the training that finds it: two sprints, every number rerun in code.

2 sprints, 2 code runsVerified sourcesOne phase project

Phase 10 summary, a one-page catalog: Neural Networks. The full text of the page follows.
Full resolution2160 × 2700 PNGPhase on GitHub

The part of the image you are reading lights up. Tap a part to jump to its text.

Figure in words

  • A dark code window
  • a small network: two inputs, two Σ units, one Σ output · XOR · 2-2-1
  • a falling curve that flattens · loss by step
  • five tags beside it: XOR · Hidden Layer · Backprop · Step Size · Init

The Sprints

One Line Fails

No line splits XOR. My perceptron looped from epoch 2.

Sprint 31

Bend the Space

Two ReLU units send (0,1) and (1,0) to one point; one line then works.

Sprint 31

Gradient Check

Backprop and a finite difference agreed to 3.7 × 10⁻¹⁰ on all 13 weights.

Sprint 32

Step & Start

η 30 never beat its start; zero weights trained 16 units as one.

Sprint 32

Now I Can Outcome

Wire a net by hand, train it, check its gradient, read its loss.

Mistakes Avoided Lessons

“The book killed neural nets”, one lucky seed, zero weights, blind η.

Habits Kept Practice

Count seeds that succeed, check gradients, plot every loss curve.

Phase Project

One numpy net: XOR by hand, then two moons with its gradient checked, η swept, seeds counted.

R Trusted Sources

  1. Rosenblatt 1958
  2. Minsky & Papert 1969
  3. Rumelhart et al. 1986
  4. Glorot & Bengio 2010

The Sprint Pages

  1. Sprint 31/90From Perceptron to Multilayer NetworkOne neuron draws one straight line. XOR needs a bend, and a hidden layer supplies it.
  2. Sprint 32/90How Networks Train: Backpropagation & Training DynamicsBackprop finds the slope. Step, start and depth decide whether training arrives.

Cite this phase

Tahri, M. (2026). MT24 Learning — Knowledge Sprint Series, Phase 10: Neural Networks (Version 1.0) [Educational resource]. Zenodo. https://doi.org/10.5281/zenodo.23343237

Version DOI 10.5281/zenodo.23343237 · all versions 10.5281/zenodo.23343236 · first published 7 October 2026