Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

no, trainAuto() is not available in the python wrappers.

simulating it from python would be:

 (split data into train & test set, then)
 for C in [0.1, 1, 10, 100, 1000]:
      for gamma in [0.1, 0.5, 0.7, 1, 1.5, 2, 5, 10]:
            svm.setC(C)
            svm.setGamma(gamma)
            svm.train()
            svm.test()
            measure accuracy, and keep best param set