View Single Post
  #1  
Old 03-02-2013, 03:03 PM
santiaago santiaago is offline
Junior Member
 
Join Date: Jan 2013
Posts: 2
Question How to disable the output of svm-train in Python

Is there a way to disable the output of svm-train?

Every time I call svm_train with cross validation for example and with quiet mode '-q',

Code:
svm_train(Y,X,options)
I get an output like this one:

Code:
Cross Validation Accuracy = XX%
This can be cumbersome when you call it 100 times.

I found that in java we can disable this:
http://www.csie.ntu.edu.tw/~cjlin/libsvm/faq.html#f417

But I am unable to do the same in python.

Thanks,
Reply With Quote