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

One Class SVM scores #225

Open
mcamplaniROVCO opened this issue Jul 20, 2020 · 3 comments
Open

One Class SVM scores #225

mcamplaniROVCO opened this issue Jul 20, 2020 · 3 comments

Comments

@mcamplaniROVCO
Copy link

Hello,

Is there any way to improve the documentation or clarifiy here how it is possible to obtain classification scores from ONE class SVM as in scikit-learn score_samples function. I found that a similar functionality is not available and this detail is quite hidden inside the documentation

@zeyiwen
Copy link
Collaborator

zeyiwen commented Jul 23, 2020

The python interface doesn't support the computation of scores, but you can obtain the score from the C++ code in Line 63 of https://github.com/Xtra-Computing/thundersvm/blob/master/src/thundersvm/model/oneclass_svc.cpp

It would be good if you or someone else can contribute to improving the python interface.

@mcamplaniROVCO
Copy link
Author

Hello,

THanks for this, I think I will have a look at it soon!!!!

@mcamplaniROVCO
Copy link
Author

Closed by mistake. Will close this when the feature is implemented

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