Experiment - Why automatic differentiation enables training
Problem:You want to train a simple neural network to learn a function, but manually calculating gradients for updating weights is hard and error-prone.
Current Metrics:Training loss decreases slowly and inconsistently; model accuracy is low (~50%) after 10 epochs.
Issue:Manual gradient calculation is difficult and often incorrect, causing slow or failed training.