svm learn 0.5 threshold bug