Why is Target Encoding prone to data leakage during the model training process?

Select the correct answer: Single Choice

Key points

  • Target encoding incorporates target information into features
  • Leakage occurs if statistics are calculated on the full dataset
  • Cross-validation or smoothing is required to prevent overfitting

Ready to go further?