[pymvpa] pymvpa one-class svm

basile pinsard basile.pinsard at gmail.com
Wed Jan 21 22:12:03 UTC 2015


Hi pyMVPA!

does anyone has ever tried to use one-class SVM (or other 1-class
classifier) in PyMVPA.
I tried using :
SVM(svm_impl='ONE_CLASS')
but I am not sure what are the targets supposed to be: boolean or {-1,1}
I do not know if the wrapper passes to training only the positive samples
or not? while in a cross-validation scheme we would test on full dataset to
find false-positives.
I also tried using sklearn.svm.OneClassSVM:
SKLLearnerAdapter(OneClassSVM(kernel='linear'))

I am specifically interested in classifying a task vs. rest which is why I
aim at one-class.

Thanks for your advices or ideas.

Regards

basile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20150121/92d15cd9/attachment.html>


More information about the Pkg-ExpPsy-PyMVPA mailing list