Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep track of the SVM probability score #70

Closed
marfox opened this issue Jul 31, 2015 · 2 comments
Closed

Keep track of the SVM probability score #70

marfox opened this issue Jul 31, 2015 · 2 comments

Comments

@marfox
Copy link
Member

marfox commented Jul 31, 2015

You should first locate the class where libsvm is used.
Then, you should activate the flag for computing the probability score (if not already done).
Finally, you should store it at classification runtime.

@e-dorigatti
Copy link
Contributor

I always get a probability of 0.0 for all the classes (straight output from svm_predict_probability)
@marfox can you confirm?

@e-dorigatti
Copy link
Contributor

As it turned out -b 1 needs to be provided to svm-train to enable probability the computation during classification. (see the libsvm page)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants