Hi. Does anyone know of a working One-Class SVM in Julia? There is a ‘OneClassSVM’ option in LIBSVM, but it doesn’t work properly (which I have documented on GItHub, but there doesn’t seem to be much activity on the LIBSVM.jl page in the past 2 years). Scikit-Learn (apparently) uses the LIBSVM one which has given me wrong answers on simple test problems.
Thanks for any suggestions!
PS I have seen SVM.jl which seems very out of date.
I think maybe the defaults for LIBSVM (inherited from the underlying library) are not appropriate for the suggested test. Here is the test, with a Linear kernel and a small value for nu:
That’s great! Thank you for this. That is really very helpful.
It looks like the default value of nu is chosen with the other SVM types in mind, but gives very bad performance for One-Class (on examples I have tested).
I looked for examples (like this) using LIBSVM in Julia, or more documentation, for the Julia implementation, but I couldn’t find any. Do you know of somewhere? If so, that would be really helpful. If not, then I think potential users would find your example above extremely helpful (maybe on here is good enough).
I used the docstrings in LIBSVM.jl (for example ?svmtraing in the REPL) and the LIBSVM documentation. I didn’t find a specific set of examples for LIBSVM.jl, but most of the examples in the LIBSVM documentation should translate well.