Skip to content
AI-grafen
CBuilderModel training and fine-tuning· about 30 min· fundamentals that rarely change· verified 2026-09-20· EN

Retraining the model with your own examples

Be able to add your own examples to a trained model and see how it changes.

Prerequisites

Intuition

You have trained an image classifier that manages your examples but misses certain cases — the scissors when they are closed, say.

There are two ways of fixing that:

  1. Change the model (larger, longer training) — it rarely helps.
  2. Change the data — add 15 pictures of closed scissors and retrain.

Nearly always it is the data. The model can only do what it has seen examples of.

Interactive

Do it properly — otherwise you do not know whether it helped:

  1. Measure before. Run your test set (which the model has not been trained on). Write it down: 26/30 = 87 %.
  2. Add examples of what is failing — and only that.
  3. Retrain.
  4. Measure after on the same test set: 29/30 = 97 %.
  5. Check that nothing else got worse. Did the pencils go from 10/10 to 7/10? Then you have traded one problem for another.
beforeafter
scissors6/109/10
pencil10/1010/10
eraser10/1010/10

This table is the whole point: one figure hides what happened, three figures show it.

Mastery means

  • Adds their own examples and measures before and after
  • Explains why the model changed

Sign in to do the exercises and build your mastery up.

Sources

All the sources and licences