-
Notifications
You must be signed in to change notification settings - Fork 530
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
Remove most warnings from pytest suite #4196
Remove most warnings from pytest suite #4196
Conversation
Removing |
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.
Just one very minor thing. Otherwise, these changes are pretty straightforward.
python/cuml/manifold/t_sne.pyx
Outdated
warnings.warn("Barnes Hut and FFT only work when " | ||
"n_components == 2. Switching to exact.") | ||
method = 'exact' | ||
# Enable warning once n_components >= 2 is supported. |
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.
I think this can be removed altogether, else we should probably reference an issue here for tracking. I'm just not sure I see this feature being implemented anytime soon.
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
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
Codecov Report
@@ Coverage Diff @@
## branch-21.12 #4196 +/- ##
===============================================
Coverage ? 85.99%
===============================================
Files ? 231
Lines ? 18713
Branches ? 0
===============================================
Hits ? 16093
Misses ? 2620
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 |
Partially resolves rapidsai#2843 Missing to deal with is warnings coming from cuML logger and other verbosity in the C++ layer Note: Scikit-learn 0.24 removes many warnings as well, so once rapidsai#4205 is merged and that is updated in CI the remaining warnings should be gone Authors: - Dante Gama Dessavre (https://github.com/dantegd) Approvers: - Corey J. Nolet (https://github.com/cjnolet) URL: rapidsai#4196
Partially resolves #2843
Missing to deal with is warnings coming from cuML logger and other verbosity in the C++ layer
Note: Scikit-learn 0.24 removes many warnings as well, so once #4205 is merged and that is updated in CI the remaining warnings should be gone