Exploring Hierarchical Blending in Target Encoding

When can code hierarchies improve target encoding for high-cardinality categorical features?

12 min read

3 hours ago

Photo by Jessica Alves on Unsplash

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…