Tokanny Faith Foundation Tokanny Faith Foundation Learning Hub
Unit 2 · Lesson 3

Training and testing

Why AI is trained on one set of examples and tested on another, what accuracy means, and how models get better.

1:28 videoSave video (1.6 MB) Captions are on

Key points

  • Training data is what the AI learns from. Test data is a separate set of new examples used to check it.
  • Testing on new data shows whether the AI learned the pattern or just memorised the examples.
  • Accuracy is the percentage of predictions that are right. 90 right out of 100 is 90% accuracy.
  • Building AI is a cycle: collect, train, test, improve, and test again.

Try it: Train and test

Choose the best answer.

Check your understanding