Skip to content
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

benchmarking the linear kernel in SVC #14

Open
amueller opened this issue Jul 13, 2019 · 2 comments
Open

benchmarking the linear kernel in SVC #14

amueller opened this issue Jul 13, 2019 · 2 comments

Comments

@amueller
Copy link

Using kernel='linear' in SVC basically makes no sense. You should be using LinearSVC and probably set dual=False.

@bibikar
Copy link
Contributor

bibikar commented Jan 31, 2020

DAAL will only work in the dual space for SVM, so daal4py's patches patch SVC instead of LinearSVC. We could possibly add an option to benchmark LinearSVC instead, or only choose SVC by default if DAAL is present. What do you think?

@amueller
Copy link
Author

The point is not what DAAL does but whether the benchmark is fair. If you want to compare solving a linear SVM between daal and scikit-learn, you should be using LinearSVC on the sklearn side.

razdoburdin pushed a commit to razdoburdin/scikit-learn_bench that referenced this issue Jun 13, 2023
make it work on win, MPI having issues still
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants