Friday, 15 August 2014

machine learning - How to disable the console output in libsvm (java) -



machine learning - How to disable the console output in libsvm (java) -

i using libsvm in java , experiencing similar issues described here python.

i getting lot of console output during training , prediction , disable it. sadly, due "service temporary unavaiable" can't access website, might described (here). couldn't find java related way disable warnings (if did oversee apologize)

the output looks quite similar this:

optimization finished, #iter = 10000000 nu = 0.013178458659415372 obj = -11.005078334927212, rho = -2.1799731001804696 nsv = 20, nbsv = 5 total nsv = 20

do know how can disable kind of output in java?

thanks lot help.

to disable output programmatically need following:

svm.svm_set_print_string_function(new libsvm.svm_print_interface(){ @override public void print(string s) {} // disables svm output });

java machine-learning classification svm libsvm

No comments:

Post a Comment