From: <jen...@us...> - 2007-09-03 16:59:03
|
Revision: 126 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=126&view=rev Author: jenslehmann Date: 2007-09-03 08:43:58 -0700 (Mon, 03 Sep 2007) Log Message: ----------- updated statistic settings Modified Paths: -------------- trunk/src/dl-learner/org/dllearner/utilities/PaperStatistics.java Modified: trunk/src/dl-learner/org/dllearner/utilities/PaperStatistics.java =================================================================== --- trunk/src/dl-learner/org/dllearner/utilities/PaperStatistics.java 2007-08-31 15:30:09 UTC (rev 125) +++ trunk/src/dl-learner/org/dllearner/utilities/PaperStatistics.java 2007-09-03 15:43:58 UTC (rev 126) @@ -126,7 +126,8 @@ int[] algorithmRuns = {1,10,10}; int startAlgorithmNr = 0; - + Config.writeDIGProtocol = true; + Config.digProtocolFile = new File(statBaseDir, "dig.log"); // do not plot anything // File[][][] gnuplotFiles = new File[examples.length][algorithms.length][3]; @@ -169,7 +170,9 @@ statString += "example: " + examples[exampleNr] + "\n\n"; for(int algorithmNr=startAlgorithmNr; algorithmNr < algorithms.length; algorithmNr++) { - + // reset algorithm number (next example starts with first algorithm) + startAlgorithmNr = 0; + Stat classification = new Stat(); Stat length = new Stat(); Stat runtime = new Stat(); @@ -228,6 +231,10 @@ Config.GP.crossoverProbability = 0.8; Config.GP.hillClimbingProbability = 0; Config.percentPerLengthUnit = 0.005; + // give GP a chance to find the long solution of the + // uncle problem + if(exampleNr==3 || exampleNr == 6) + Config.percentPerLengthUnit = 0.002; learningAlgorithm = new GP(learningProblem); } else if(algorithmNr==2) { Config.algorithm = Algorithm.HYBRID_GP; @@ -243,6 +250,8 @@ Config.GP.crossoverProbability = 0.2; Config.GP.hillClimbingProbability = 0; Config.percentPerLengthUnit = 0.005; + if(exampleNr == 3 || exampleNr==6) + Config.percentPerLengthUnit = 0.002; learningAlgorithm = new GP(learningProblem); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |