Mean Encoding

Learn how to use mean encoding for categorical features.

What is mean encoding?

Mean encoding uses the mean of the target value as a new feature. It’s usually done for classification tasks, particularly a binary classification. The mean value is always on the target value. However, mean encoding can be ...