There is a function from old libsvm module:
score = svm_predict_probability(model, x, prob_estimates);
Where model is the trained model, x is the struct svm_node (like a dictionary, having value and indexes) and prob_estimates is defined as:
int nr_class=svm_get_nr_class(model);
double prob_estimates = (double *) malloc(nr_classsizeof(double));
I want to use it using OpenCV SVM Class. it's aregression problem where score (the final output) ranges from 0 to 100. I'm not sure how to do it? (Except loading the svm model and it's parameters).