thundersvm icon indicating copy to clipboard operation
thundersvm copied to clipboard

One Class SVM scores

Open mcamplaniROVCO opened this issue 5 years ago • 3 comments

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

mcamplaniROVCO avatar Jul 20 '20 13:07 mcamplaniROVCO

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.

zeyiwen avatar Jul 23 '20 08:07 zeyiwen

Hello,

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

mcamplaniROVCO avatar Jul 23 '20 08:07 mcamplaniROVCO

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

mcamplaniROVCO avatar Jul 23 '20 14:07 mcamplaniROVCO