One class svm

asked 2014-06-06 10:22:47 -0500

Rishika gravatar image

updated 2014-06-06 10:23:35 -0500

Please can anyone help me with one-class svm.Is there any sample code available for it?I am classifying on the basis of four features.I have changed the svm_type parameter to CvSVM::ONE_CLASS. I have labelled all the samples as 1.There are no other samples.However when i train and test, i always get 0 as the response.I am never able to get a response of 1. Also i am facing problem in setting up the nu and gamma parameters.What value should i give them?

edit retag flag offensive close merge delete


Have you advanced in this? I am also interested in ONE_CLASS. Maybe you can do an auto_train to step away from choosing the right values for the parameters. Please add some info if you arrive to something.

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-04-14 09:09:40 -0500 )edit