I used libsvm in Matlab with the option '-b 1'
in both training and prediction process. But it always returns Model does not support probabiliy estimates
, so I don't get any probability or accuracy estimation. I tried in binary class SVM (not nu-svm!), it should have work with the '-b 1'
but it's not. Does anyone know what's the reason for this problem?
Thanks
Actually your questions needs more information to get a proper answer. but generally, the part that is giving error is here in the source code:
it mean it has does not find the probability model.
We can see that the last fourth line is -b option. If we trained the model with '-b 1' option, we'll get a model that can output probability when you try to predict. Otherwise, if you only use '-b 1' option when you try to predict and not generate a model with '-b 1'. you will get the error : Model does not support probabiliy estimates
The main thing is that if you want to get probabiliy estimates, you should use '-b 1' in your train and test process, both of them.