Why can target encoding leak information?

Why can target encoding cause leakage?

A

It prevents model fitting

B

It only works with numeric features

C

It removes categorical variables entirely

D

It can encode category statistics using labels from validation or test examples if not computed within proper folds