Deep Learning, by Handby Iman Tumorang

Learning deep learning, one hand calculation at a time.

From pencil to perceptron.

I’m a software architect learning neural networks from scratch, in public. Every concept gets worked out by hand first, then built in code, and written up so you can follow the same path.
Sketch: a photo becomes 12,288 numbers, goes into the magic box, and the box says "it's a dog!"a photo12,288numbersmagic boxweights · bias · g(z)it's adog!
6posts publishedAug 2026started

The roadmap

Each phase builds on the last. Every step links to the write-up and the code.

1Neural network foundations

Done

From a single neuron to a deep network: backprop by hand, then a working cat-vs-dog classifier in NumPy.

August 2026
w ← w − α · ∂L/∂wevery gradient, by hand

Backpropagation with manual calculation

The magic box analogy, the forward and backward pass, and computing every gradient on paper before touching code.

  • Forward pass
  • Backpropagation
  • Derivatives
  • Learning rate
September 2026
October 2026
layer_dims = [12288, 30, 20, 7, 1]magic box v1

The magic box moves to a deep neural network

Hidden layers, ReLU, He initialization and backprop through many layers, comparing logistic, shallow and deep models on the same data.

  • Hidden layers
  • ReLU
  • He initialization
  • Shallow vs deep

2Improving deep networks

Done

The deep model fit the training data better than the test data. This phase is about why, and how to fix it.

a mini-series · 3 parts so far

Optimization

Making the deep model train faster and generalize better.

All the code
October 2026
X{1}, X{2} … X{t}smaller bites, faster steps

Speeding up the learning of the Magic Box

Training on mini-batches instead of the whole dataset, so the magic box learns from many small steps instead of one slow one.

  • Mini-batch gradient descent
  • Batch size
  • Epochs
refactored

Parts 1–3 cleaned up into one notebook: mini-batches, optimizers and regularization together.

Notebook
I'm here, figuring out what's next. Everything below is still a guess.

Someday

Not written yet.

Maybe: how do models like ChatGPT work?

No schedule, just progress. Every time something clicks, I write it up.

Why I'm doing this

I’ve spent over a decade designing software systems. With AI writing more of the code, I wanted to understand the one part that stays constant underneath all the tools: the model itself.

So I’m learning it the way I’d learn an unfamiliar system: start from the big picture, go one level deeper at a time, and only pick up the math once I need it. Writing each step down is how I check that I actually understand it.

I’m a learner here, not an expert. If you spot a mistake in a post, please tell me in the comments.

If you want to master something, learn how to explain it.