LFD Book Forum  

Go Back   LFD Book Forum > Course Discussions > Online LFD course > Homework 8

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 

Tags
8.7, 8.8, python, svm, svm_train

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:18 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.