LFD Book Forum

LFD Book Forum (http://book.caltech.edu/bookforum/index.php)
-   Homework 8 (http://book.caltech.edu/bookforum/forumdisplay.php?f=137)
-   -   How to disable the output of svm-train in Python (http://book.caltech.edu/bookforum/showthread.php?t=4062)

santiaago 03-02-2013 04:03 PM

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,

ardajm 03-02-2013 04:12 PM

Re: How to disable the output of svm-train in Python
 
I get the same thing with Octave. the '-q' works for the non cross validation but when I add cross validation I get the 'Cross Validation Accuracy..' message.


All times are GMT -7. The time now is 12:50 AM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
The contents of this forum are to be used ONLY by readers of the Learning From Data book by Yaser S. Abu-Mostafa, Malik Magdon-Ismail, and Hsuan-Tien Lin, and participants in the Learning From Data MOOC by Yaser S. Abu-Mostafa. No part of these contents is to be communicated or made accessible to ANY other person or entity.