First time here? Check out the FAQ!
answered 2019-11-23 01:04:57 -0600
you can use:
svm->predict(vdata, scores, ml::StatModel::RAW_OUTPUT);
note, that this is the distance to the margin, not a probability.