You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have found myself in a position to need a practical way to apply binning + WoE encoding on all features of a dataset. As I was not able to find the solution within the package I have implemented a custom sklearn compatible version myself. Typically it works as follows:
I have made some effort to comment / sanitise / make it customisable / handle types / define some tests. Would it be a good idea to integrate this ? Where ?
The text was updated successfully, but these errors were encountered:
Oh, yes, I would advocate for maybe defaulting the list of columns to None which then applies to all columns (using names if pandas and x{i} for i in range(m) else).
(I also have a thin wrapper in my company's packaging for this sort of thing. I think I recall the priority of the transform metric specifications (in constructor and in transform) seemed backwards from what I'd expect too?)
I have found myself in a position to need a practical way to apply binning + WoE encoding on all features of a dataset. As I was not able to find the solution within the package I have implemented a custom sklearn compatible version myself. Typically it works as follows:
I have made some effort to comment / sanitise / make it customisable / handle types / define some tests. Would it be a good idea to integrate this ? Where ?
The text was updated successfully, but these errors were encountered: