ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlig...@apache.org
Subject svn commit: r1421518 - /incubator/ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/eval/RelationExtractorEvaluation.java
Date Thu, 13 Dec 2012 20:52:47 GMT
Author: dligach
Date: Thu Dec 13 20:52:46 2012
New Revision: 1421518

URL: http://svn.apache.org/viewvc?rev=1421518&view=rev
Log:
updated best parameters for degree_of and location_of, which were optimized on the SHARP corpus

Modified:
    incubator/ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/eval/RelationExtractorEvaluation.java

Modified: incubator/ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/eval/RelationExtractorEvaluation.java
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/eval/RelationExtractorEvaluation.java?rev=1421518&r1=1421517&r2=1421518&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/eval/RelationExtractorEvaluation.java
(original)
+++ incubator/ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/eval/RelationExtractorEvaluation.java
Thu Dec 13 20:52:46 2012
@@ -126,9 +126,9 @@ public class RelationExtractorEvaluation
 
   public static final String GOLD_VIEW_NAME = "GoldView";
   
-  private static final ParameterSettings BEST_DEGREE_OF_PARAMETERS = new ParameterSettings(false,
1.0f, "linear", 0.1, 1.0);
-  
-  private static final ParameterSettings BEST_NON_DEGREE_OF_PARAMETERS = new ParameterSettings(false,
0.5f, "linear", 0.1, 1.0);
+  // parameter settings currently optimized for SHARP data
+  private static final ParameterSettings BEST_DEGREE_OF_PARAMETERS = new ParameterSettings(false,
0.5f, "radial basis function", 10.0, 0.0010);
+  private static final ParameterSettings BEST_NON_DEGREE_OF_PARAMETERS = new ParameterSettings(false,
1.0f, "radial basis function", 10.0, 0.01);
   
   public static void main(String[] args) throws Exception {
     Options options = new Options();



Mime
View raw message