Model Pipeline - Target encoding
Target encoding replaces categories in a feature with the average value of the target for those categories. This helps models use categorical data better by turning categories into numbers that relate to the prediction goal.