Skip to content

hierarchical target encoding #246

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
EmilHvitfeldt opened this issue Feb 13, 2025 · 0 comments
Open

hierarchical target encoding #246

EmilHvitfeldt opened this issue Feb 13, 2025 · 0 comments
Labels
feature a feature request or enhancement target encoding Temporary label to group target encodings

Comments

@EmilHvitfeldt
Copy link
Member

Furthermore, for categorical attributes with an inherent hierarchical structure, like ZIP codes, the preprocessing scheme can directly leverage the hierarchy by blending statistics at the various levels of aggregation.

https://dl.acm.org/doi/10.1145/507533.507538

We would need to select the right columns, and properly add another argument, that takes a formula that describes the hierarchy

@EmilHvitfeldt EmilHvitfeldt added feature a feature request or enhancement target encoding Temporary label to group target encodings labels Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement target encoding Temporary label to group target encodings
Projects
None yet
Development

No branches or pull requests

1 participant