Free courses in AI, Data Science & Machine Learning Written lessons · Quizzes · Final exams
Future Data Academy
Log inGet started ↗
← Neural Networks and Deep Learning
FREE LESSON PREVIEW

Training diagnostics and experiment cards

The decision

Training loss measures fit to observed examples, not deployment quality. A validation set supports model selection while final test data stays separate. Record settings and unsuccessful runs so improvements can be assessed fairly.

Synthetic case data

epoch,training_loss,validation_loss
1,0.80,0.85
2,0.55,0.65
3,0.40,0.60
4,0.25,0.72

Work it through

Before reading the worked analysis, identify the unit of observation, required quantities and missing information. Write your own answer, including units and a limitation.

Worked analysis

Validation loss is lowest at epoch 3, although training loss keeps falling. Selecting epoch 3 follows an early-stopping rule based on validation. For the toy loss L(w)=(w-1)^2 at w=2, gradient is 2; learning rate .1 gives w=1.8 and loss .64. A successful toy step says nothing about representative data or generalisation. Check for non-finite loss and gradients, verify split isolation and compare against a simpler baseline. A reproducible experiment records optimiser, learning rate, batch size, seed, data version and selection criterion.

Independent challenge

Write an experiment card and compare two learning rates using validation results. Record failed runs and a selected checkpoint. Explain what evidence would cause you to reject the complex model for a simpler baseline.

Acceptance checks

Do not tune on final test labels. Separate training, validation and test results. Treat the four-epoch table as an illustrative diagnostic, not a universal learning curve.

Further reading

Official reference. This original academy exercise uses synthetic data; the reference provides background and does not endorse the academy.

Explore the full course →