jlibsvm icon indicating copy to clipboard operation
jlibsvm copied to clipboard

Race condition when classifying with MultiClassificationSVM

Open razmanolescu opened this issue 6 years ago • 0 comments

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.

razmanolescu avatar Jul 30 '18 15:07 razmanolescu