-
Notifications
You must be signed in to change notification settings - Fork 26
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
Align WoE #72
Comments
It was like this at some point, but apparently it was changed recently. The most common practice is to have |
Yeah unfortunately I've found it's more than a sign difference for certain values. Will do more digging |
Found the bug @sbjelogr . In If X comes from train_test_split, it will have bad indices which means the df doesn't concatenate properly. We just need to add: X = X.copy().reset_index(drop=True) on line 22. Fixing tests now, then will commit |
Nice work ! |
The
bucket_table
function is reporting a WoE different to thewoe_1d
function. Which is correct?The WoE function should be done in one place.
The text was updated successfully, but these errors were encountered: