-
Notifications
You must be signed in to change notification settings - Fork 514
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] Add type check for y in train_test_split #3886
Conversation
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.
Code looks good, I was wondering if we could add a simple test case could be added?
Codecov Report
@@ Coverage Diff @@
## branch-21.06 #3886 +/- ##
===============================================
Coverage ? 85.41%
===============================================
Files ? 227
Lines ? 17315
Branches ? 0
===============================================
Hits ? 14790
Misses ? 2525
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
@gpucibot merge |
Closes rapidsai#3817 Combing the train and test blocks and checking for type of y before applying the split. Authors: - Nanthini (https://github.com/Nanthini10) Approvers: - Dante Gama Dessavre (https://github.com/dantegd) URL: rapidsai#3886
Closes #3817
Combing the train and test blocks and checking for type of y before applying the split.