Machine learning with Python: your first models · Lesson 3 of 5

How good is it? Measuring error honestly

Today you will

  • Compute the mean absolute error of a model in Python.
  • Explain why we test on data the model never saw.
  • Recognise overfitting.

Before you start: Lesson 2: fit_line and predict.

Opening your exercise book…

Practice

Marked as you go. Get 75% right to complete the lesson.

Getting your desk ready…

Build status · Flash Infinity AI™ is a trademark of AI-Flash Inc. WorldClass is not affiliated with, approved or accredited by any exam board, curriculum provider or university unless a page says so.