-
Notifications
You must be signed in to change notification settings - Fork 7
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
Wrong prediction #3
Comments
Hello! I don't think I can find time to dig into this. But there is a build of libsvm in asm which is a subset of javascript so it is actually plain javascript. You should be able to use it for your project. |
Right, I did try this as well but turned out that it would fail once running in React Native...just thought I would switch back to a simpler version. Anyways, thanks for your reply. |
This is not a issue, You can see the Lines 204 to 207 in 392a1d0
|
Hello,
I am trying to make a simple classification using SVM with the following snippet:
I don't understand why it sometimes predict -1, which is not even an available class...
It happens randomly so I thought it may be related to whether or not the algorithm converged?
I really hope to use this library as it runs in React Native using plain JS (which libsvm doesn't)! :(
Do you know what could be the problem?
Thank you!
The text was updated successfully, but these errors were encountered: