scikit-learn-contrib / category_encoders

A library of sklearn compatible categorical variable encoders
http://contrib.scikit-learn.org/category_encoders/
BSD 3-Clause "New" or "Revised" License
2.4k stars 393 forks source link

Numerical Stability fix for TargetEncoder #380

Closed glevv closed 1 year ago

glevv commented 1 year ago

Fixes #377

Change from manual sigmoid calculation to more stable scipy implementation