navidfk / moa

Automatically exported from code.google.com/p/moa
0 stars 0 forks source link

DDM is 3X slower due to printing of debug messages #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create an instance of SingleClassifierDrift from Java code
2. Set its CLI String to "-d DDM -l (bayes.NaiveBayes)"
3. Perform a prequential in a dataset with at least 40k instances

What is the expected output? What do you see instead?
When debug messages are suppressed by a dummy output stream, instead of 
filtering with 'grep' or just showing them,
algorithm runs 3X faster.

What version of the product are you using? On what operating system?
MOA 2012.08 from Maven

Please provide any additional information below.
The messages are about the drift detection levels: N, W and D.
They could be suppressed by an CLI option.

Original issue reported on code.google.com by dps....@gmail.com on 14 Nov 2013 at 5:48

GoogleCodeExporter commented 8 years ago
OS: Debian Wheezhy
Redirecting to /dev/null doesn't help either.

Original comment by dps....@gmail.com on 14 Nov 2013 at 6:01