[pymvpa] C and Nu SVM

Susanne Greiner susanne.greiner at gmail.com
Fri Feb 27 13:30:00 UTC 2009


At the risk of doing a very obvious question again...

when using some SVM classifier of the most recent version of pyMVPA, 
there is this new text displayed which is telling what the code has just 
done (very comfortable). So one gets some information such as the total 
number of Support Vectors and some of the main parameters straight away.
What I don't get is why it displays a 'nu' value when doing 'C'-SVM and 
a 'C' value when doing 'Nu'-SVM. As far as I know when doing 'C'-SVM the 
primal problem does not contain any 'nu' and viceversa.
So is the 'nu' displayed actually a 'C' or whatever information does it 
contain? (See some sample output below)
Thanks a lot,

Susanne

----------------------------

clf = LinearCSVMC()

optimization finished, #iter = 234
nu = 0.244968
obj = -0.039349, rho = -0.568864
nSV = 76, nBSV = 22
Total nSV = 76

-------------------

clf = LinearNuSVMC()

optimization finished, #iter = 197
C = 0.000398
obj = 0.014340, rho = -0.615725
nSV = 112, nBSV = 82
Total nSV = 112

--------------------

clf = RbfCSVMC()

optimization finished, #iter = 345
nu = 0.319908
obj = -32.223021, rho = 0.051494
nSV = 148, nBSV = 8
Total nSV = 148

-------------------

clf = RbfNuSVMC()

optimization finished, #iter = 200
C = 0.542473
obj = 23.660866, rho = 0.079914
nSV = 152, nBSV = 52
Total nSV = 152



More information about the Pkg-ExpPsy-PyMVPA mailing list