Get probability out of svm predict function
I have a binary classification and I need to get the probability of a between 0,1 ...how can I do that withpredict function ?
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);
Asked: 2017-09-24 09:01:24 -0600
Seen: 560 times
Last updated: Sep 24 '17