liveBook · Manning

Learning curve

As explained in Graph Neural Networks in Action

A plot showing a model's performance measure, such as loss, across training epochs.

A learning curve plots a model’s performance measure across training epochs. Plot training and validation loss together to see whether learning improves on both datasets or begins to overfit. section 3.1.4

Read the curves as a practical training diagnostic:

  • Expect both losses to decline as the model learns. section 3.1.4
  • Treat a validation loss minimum followed by rising loss, while training loss continues falling, as classic overfitting. section 3.1.4
  • Save the model instance with the lowest validation loss rather than automatically using the final epoch. section 3.1.4
  • Record training and validation losses during each epoch, then visualize them to adjust training decisions. section 3.1.3

How Graph Neural Networks in Action covers it

How deep it goes
Interprets declining curves, divergence, and validation-loss minima, but defers overfitting remedies to later treatment.
Examples
Compares GCN and GraphSAGE curves, highlighting validation divergence near epoch 20 and selecting the lowest-validation-loss checkpoint.
What it assumes
Assumes epoch-based training with separate training and validation data, while defining loss as a measure of prediction quality.
What you can do after
Diagnose overfitting from plotted losses and retain the model checkpoint with the best validation performance.
How it connects
Connects training loss, validation loss, overfitting, model training, generalization, F1 score, and log loss.

Also explained in

Compare how 2 books explain learning curve →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Graph Neural Networks in Action. The section links point to the parts of the book it draws on.