Course contents · Chapter 4
AI LiteracyChapter 4 of 42 min reading + practice

Study the mistakes before deployment

An average hides the situations in which a model performs poorly.

An average hides the situations in which a model performs poorly.

Group errors by relevant conditions, inspect examples and distinguish uncertain evidence from a demonstrated pattern. Monitor whether the deployment data changes over time.

The bigger picture

A supervised learning problem connects inputs available at prediction time to a defined target. Dataset size alone does not make the problem well specified. The target, sampling process and evaluation must match the decision you intend to support.

  1. Define target
  2. Split data
  3. Fit baseline
  4. Evaluate errors
A working model for this course. Use it to locate where a decision or failure occurs.

Concepts to keep close

Feature
A measured input supplied to a model.
Training split
Examples used to fit the model or preprocessing steps.
Test split
Examples reserved for a final evaluation after development decisions are made.

Reasoning through the problem

Separate term and holiday errors.

Check sample size and missing conditions.

Recommend a limited use with monitoring.

Use the idea carefully

Define the target and a simple baseline before choosing an algorithm. Split related examples appropriately, fit preprocessing on training data and use validation data for development choices. Keep the final test separate. Examine error types and relevant subgroups rather than relying on one headline score.

Further reading & course resources

Original documentation and teaching references for further investigation.