-
Notifications
You must be signed in to change notification settings - Fork 533
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
[Review] change TargetEncoder's smooth argument from ratio to count #3876
[Review] change TargetEncoder's smooth argument from ratio to count #3876
Conversation
sync with upstream
sync with upstream
sync with upstream
Sync with upstream
sync with upstream
sync with upstream
merge with upstream
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
sync with upstream
smooth : int (default=0) | ||
Count of samples to smooth the encoding. 0 means no smoothing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should add a deprecation warning for using floats for one version since this is a public API breaking change. I wonder if perhaps it would be a good idea to accept either a float or int and behave accordingly as opposed to change to only accept int?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea. Float will work just fine.
Codecov Report
@@ Coverage Diff @@
## branch-21.08 #3876 +/- ##
===============================================
Coverage ? 85.59%
===============================================
Files ? 230
Lines ? 18221
Branches ? 0
===============================================
Hits ? 15596
Misses ? 2625
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
Removing |
rerun tests |
sync with upstream
@gpucibot merge |
…3876) The related issue is rapidsai#3874 Authors: - Jiwei Liu (https://github.com/daxiongshu) Approvers: - Victor Lafargue (https://github.com/viclafargue) - Dante Gama Dessavre (https://github.com/dantegd) URL: rapidsai#3876
The related issue is #3874