When can code hierarchies improve target encoding for high-cardinality categorical features?
What neighborhood do you live in? What drug were you prescribed? Why did you cancel your streaming subscription? These days, there’s a code for that, stored in databases by whatever governments agencies, businesses, etc. you…