Skip to content
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

Fix issue with computed ranges for one-hot encoded features #90

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

abigailgold
Copy link
Member

1-hot encoded feature ranges were computed like a numeric value instead of a categorical value. This would in some corner cases lead to a division by zero exception due to the range being 0. This was fixed to be computed correctly. Added a test to cover this case.

@abigailgold abigailgold merged commit a8f5326 into main Jan 17, 2024
4 checks passed
@abigailgold abigailgold deleted the fix_ranges branch January 17, 2024 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant