Is there a way to execute grid.py without running gnuplot? I would rather not display the plots or warnings associate with the program.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here’s the source of
grid.py(in my github mirror of thelibsvmcode).It’s not very customizable; there’s some options done by silly manual parsing instead of
optparse/etc, and the path tognuplotis even hardcoded; no options not to draw. But it shouldn’t be hard to modify the file and just rip out all the gnuplot-related code.In fact, I think all you have to do is comment out the last line of
process_optionsand the calls to
redraw()near the end ofmain().