Quiz 11 Question 4 of 20

A team encodes the categorical variable 'state' (50 categories) by replacing each state with the average default rate computed on training data. What encoding method is this, and what is its primary risk?

Select an answer to reveal the explanation.

Motivation