From: <ku...@us...> - 2008-05-17 05:03:33
|
Revision: 894 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=894&view=rev Author: kurzum Date: 2008-05-16 22:03:25 -0700 (Fri, 16 May 2008) Log Message: ----------- Modified Paths: -------------- trunk/src/dl-learner/org/dllearner/scripts/SKOS7030.java trunk/src/dl-learner/org/dllearner/utilities/AutomaticExampleFinderSKOSSPARQL.java Modified: trunk/src/dl-learner/org/dllearner/scripts/SKOS7030.java =================================================================== --- trunk/src/dl-learner/org/dllearner/scripts/SKOS7030.java 2008-05-17 04:50:37 UTC (rev 893) +++ trunk/src/dl-learner/org/dllearner/scripts/SKOS7030.java 2008-05-17 05:03:25 UTC (rev 894) @@ -121,7 +121,7 @@ double acc2=0.0; for (int i = 0; i < 5; i++) { - acc2+=DBpediaSKOS(prim); + acc2+=DBpediaSKOS(award); } System.out.println("accprim"+(acc2/5)); @@ -191,7 +191,9 @@ //igno.add(oneConcept.replaceAll("\"", "")); SortedSet<String> conceptresults= ls.learnDBpediaSKOS(posExamples, negExamples, url,new TreeSet<String>(),recursiondepth, closeAfterRecursion,randomizeCache,resultsize,noise); - //System.out.println("concepts"+conceptresults); + + System.out.println("concepts"+conceptresults); + //System.exit(0); logger.debug("found nr of concepts:"+conceptresults.size()); SortedSet<ResultCompare> res=new TreeSet<ResultCompare>(); for (String oneConcept : conceptresults) { Modified: trunk/src/dl-learner/org/dllearner/utilities/AutomaticExampleFinderSKOSSPARQL.java =================================================================== --- trunk/src/dl-learner/org/dllearner/utilities/AutomaticExampleFinderSKOSSPARQL.java 2008-05-17 04:50:37 UTC (rev 893) +++ trunk/src/dl-learner/org/dllearner/utilities/AutomaticExampleFinderSKOSSPARQL.java 2008-05-17 05:03:25 UTC (rev 894) @@ -43,7 +43,7 @@ totalSKOSset.addAll(this.posExamples); rest.addAll(totalSKOSset); int poslimit=(int)Math.round(percent*totalSKOSset.size()); - int neglimit=(int)Math.round(1.4*poslimit); + int neglimit=(int)Math.round(2*poslimit); /*while (this.posExamples.size()>poslimit) { this.posExamples.remove(posExamples.last()); }*/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |