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 divide by sqrt(2) the median entry in SMOTENC #1014

Merged
merged 2 commits into from
Jul 10, 2023

Conversation

glemaitre
Copy link
Member

closes #857

Since euclidean distance is used, we should divide by sqrt(2) instead of 2.

@glemaitre glemaitre merged commit 2f6b1f6 into scikit-learn-contrib:master Jul 10, 2023
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.

In SMOTENC - why the median std is halved to estimate the distance of the categorical features?
1 participant