First time here? Check out the FAQ!
answered 2017-09-24 09:08:46 -0600
you cannot get the probability in [0..1], but you can get the distance to the margin with:
svm->predict(query, result, ml::StatModel::RAW_OUTPUT);