Reading the curve
A healthy loss curve drops steeply, then flattens out. Chapter 2 showed one. Other shapes point at specific problems.
| Shape | Likely cause | Try |
|---|---|---|
| Jumps around, never settles | bad rows, a learning rate too big | check the data against a schema, lower the rate, train on a few trusted examples first |
| Falls, then shoots up | a NaN, or a burst of outliers in one batch | look for divisions by zero, shuffle better |
| Training down, validation up | overfitting | a simpler model, more regularization, sets that look alike |
| Settles, then a square wave | unshuffled data, such as all August matches first | shuffle the training set |
The board shows the third shape for real. Switch λ to 0.02 and it turns into the healthy kind.