scikit-learn-contrib / imbalanced-learn

A Python Package to Tackle the Curse of Imbalanced Datasets in Machine Learning
https://imbalanced-learn.org
MIT License
6.85k stars 1.29k forks source link

FIX divide by sqrt(2) the median entry in SMOTENC #1014

Closed glemaitre closed 1 year ago

glemaitre commented 1 year ago

closes #857

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