From: <jen...@us...> - 2009-06-18 13:25:34
|
Revision: 1806 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=1806&view=rev Author: jenslehmann Date: 2009-06-18 12:02:16 +0000 (Thu, 18 Jun 2009) Log Message: ----------- performance measurements Modified Paths: -------------- trunk/src/dl-learner/org/dllearner/scripts/evaluation/OntologyEngineering.java Modified: trunk/src/dl-learner/org/dllearner/scripts/evaluation/OntologyEngineering.java =================================================================== --- trunk/src/dl-learner/org/dllearner/scripts/evaluation/OntologyEngineering.java 2009-06-18 11:53:56 UTC (rev 1805) +++ trunk/src/dl-learner/org/dllearner/scripts/evaluation/OntologyEngineering.java 2009-06-18 12:02:16 UTC (rev 1806) @@ -242,7 +242,15 @@ Description d = ed.getDescription(); double approx = lp.getAccuracyOrTooWeakApprox(d, noisePercent/(double)100); double exact = lp.getAccuracyOrTooWeakExact(d, noisePercent/(double)100); - approxDiffStat.addNumber(approx-exact); + double diff = Math.abs(approx-exact); + approxDiffStat.addNumber(diff); +// if(diff>0.1) { +// System.out.println("description: " + d); +// System.out.println("approx: " + approx); +// System.out.println("exact: " + exact); +// System.out.println("evaluated: " + lp.evaluate(d).getAccuracy()); +// System.exit(0); +// } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |