Training, Predictions, and Evaluation

Training is the process of adjusting a model using example data. After training, the model can produce predictions for new inputs.

A separate test dataset helps evaluate performance on examples that were not used in training. Accuracy alone may not capture every important kind of error.

For an email filter, a false positive incorrectly labels a legitimate message as spam. A false negative lets a spam message through. The cost of each error depends on the application.

Practice activity

Explain why testing a model only on its training examples may give an overly optimistic picture of its performance.

Exercise Files
Introduction to Artificial Intelligence practice worksheet (txt)
885.00 B