A categorical feature gains new values after deployment. The training encoder fails on unknown categories. What is the best preparation improvement?

Published
  1. Define and test an explicit unknown-category strategy shared by training and serving.
  2. Map unknown categories to a random known category without tracking it.
  3. Refit a completely different encoder independently for every request.
  4. Assume no new category can appear after model training.

Comments — 0