Intro
Neural Network Training
- Forward pass: model makes predictions from input data
- Compute loss:
loss_fn(predictions, true_labels) - Backward pass: compute gradients of the loss w.r.t. each weight (backpropagation)
- Update weights: adjust weights using an optimizer (e.g., SGD, Adam)




