How a neural network is trained, on a very simple example: forward pass → loss → backward pass (chain rule) → gradient descent update
EPOCH 0 — STEP walks through each stage; RUN executes N epochs (fast); AUTO loops until paused.
backprop.sim // Developed by Armando Teixeira-Pinto and Claude Fable 5