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.41k stars 395 forks source link

fixed bug in LOO encoder reported in #353 #354

Closed PaulWestenthanner closed 2 years ago

PaulWestenthanner commented 2 years ago

Fixes #353

Proposed Changes

In LOO cast to original datatype of categorical data rather than always strings