From: <ku...@us...> - 2008-08-29 21:54:43
|
Revision: 1150 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=1150&view=rev Author: kurzum Date: 2008-08-29 21:54:39 +0000 (Fri, 29 Aug 2008) Log Message: ----------- Modified Paths: -------------- trunk/src/dl-learner/org/dllearner/scripts/SemanticBible.java Modified: trunk/src/dl-learner/org/dllearner/scripts/SemanticBible.java =================================================================== --- trunk/src/dl-learner/org/dllearner/scripts/SemanticBible.java 2008-08-29 21:51:22 UTC (rev 1149) +++ trunk/src/dl-learner/org/dllearner/scripts/SemanticBible.java 2008-08-29 21:54:39 UTC (rev 1150) @@ -64,6 +64,7 @@ // size of randomly choosen negative examples compared to positives public static double NEGFACTOR = 1.0; + public static int POSLIMIT = 10; // different negative Ex (randomizes) each run, if set to false private static final boolean DEVELOP = true; @@ -128,6 +129,7 @@ reasoningService); ape.makePositiveExamplesFromConcept(target); positiveEx.addAll(ape.getPosExamples()); + positiveEx = SetManipulation.stableShrinkInd(positiveEx, POSLIMIT); AutomaticNegativeExampleFinderOWL ane = new AutomaticNegativeExampleFinderOWL( positiveEx, reasoningService); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |