-
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
Add a warning to prefer LinearSVM over SVM(kernel='linear') #4382
Add a warning to prefer LinearSVM over SVM(kernel='linear') #4382
Conversation
NB: need to check if the warning is not disturbingly printed many times in case of multiclass training / parameter search. |
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.
Thanks @achirkin for the PR, it looks good to me!
rerun tests |
2 similar comments
rerun tests |
rerun tests |
Codecov Report
@@ Coverage Diff @@
## branch-22.02 #4382 +/- ##
===============================================
Coverage ? 85.73%
===============================================
Files ? 236
Lines ? 19314
Branches ? 0
===============================================
Hits ? 16558
Misses ? 2756
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 |
…#4382) Suggest using LinearSVM when the user chooses to use the linear kernel in SVM. The reason is that LinearSVM uses a specialized faster solver. Closes rapidsai#1664 Also partially addresses rapidsai#2857 Authors: - Artem M. Chirkin (https://github.com/achirkin) Approvers: - Tamas Bela Feher (https://github.com/tfeher) - Dante Gama Dessavre (https://github.com/dantegd) URL: rapidsai#4382
Suggest using LinearSVM when the user chooses to use the linear kernel in SVM. The reason is that LinearSVM uses a specialized faster solver.
Closes #1664
Also partially addresses #2857