You must decide between a deterministic and a probabilistic imputation strategy for missing categorical attributes in a model that uses target encoding. What is the best choice under the risk of inducing bias?

Answer

Use a separate “missing” category as a distinct level and include it in encoding with regularization

Explanation

A dedicated missing level preserves information that missingness may be informative. With regularized target encoding, it reduces biased distortions compared with forced assignment or naive sampling.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list