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

Race condition when classifying with MultiClassificationSVM #12

Open
razmanolescu opened this issue Jul 30, 2018 · 0 comments
Open

Race condition when classifying with MultiClassificationSVM #12

razmanolescu opened this issue Jul 30, 2018 · 0 comments

Comments

@razmanolescu
Copy link

razmanolescu commented Jul 30, 2018

In MultiClassificationSVM::trainWithoutScaling there are parallel tasks spawned using Parallel.forEach . This restults in non-deterministic classification results. Serializing this fixes the problem.

The reason is that somehow the SVMs size is truncated and data is lost. My feeling is that the issue is within KernelQMatrix.

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

1 participant