-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
How to use LinearSvm? #1673
Comments
Hi @maxt3r, This is a great place for a question -- thanks for reaching out! I have two answers for you: What the status of the API is, and how to use the LinearSVM in the meantime. First, we have In the meantime, you can use direct instantiation to get access to
This will give you an One note about our LinearSVM implementation: This is an implementation PEGASOS, which is an online implementation of SVM. See this paper for more information. Instance of Issue #1318 |
Thanks a lot for quick response. Feel free to close the issue. |
Hi @maxt3r, I'll close the issue, but one more comment: If you want a good linear baseline to judge other solutions from, I'd suggest using ** Of course, the specific performances will depend on the dataset, but this is the "best bet" solution. |
Sorry if this is not the place for questions.
Currently I'm using FastTree for binary classification, but I would like to give SVM a try and compare metrics.
All the docs mention LinearSvm, but I can't find code example anywhere.
mlContext.BinaryClassification.Trainers
does not have public SVM trainers. There isLinearSvm
class andLinearSvm.TrainLinearSvm
static method, but they seem to be intended for different things.What am I missing?
Version: 0.7
The text was updated successfully, but these errors were encountered: