I am trying to train the one-class SVM.

According to libSVM
Q: How do I choose parameters for one-class SVM as training data are in only 
one class?
You have pre-specified true positive rate in mind and then search for 
parameters which achieve similar cross-validation accuracy.

But the one-class SVM does not take the labels as an input, as it only works on 
X_train.


1.       So how should cross-validation be performed, assuming the number of 
samples with label '1' is extremely limited.

2.       And what if there is none?


Thanks,

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to