Data Cleaning Exercises

Pro exercise

Categories the model never saw

A model was trained on a fixed list of cities. New rows to score include cities it never saw, and some have no city. Map anything outside the training list — and missing values — to 'other', exactly as training did, so the model never meets an unknown value.

  • machine learning prep
  • categories
  • lookups

Sign in with a Pro or Lifetime plan to open the rules, the dataset and the workspace.