ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlig...@apache.org
Subject svn commit: r1662510 - /ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/eval/RelationExtractorEvaluation.java
Date Thu, 26 Feb 2015 17:55:02 GMT
Author: dligach
Date: Thu Feb 26 17:55:02 2015
New Revision: 1662510

URL: http://svn.apache.org/r1662510
Log:
updated best liblinear parameters based on a grid search on the dev set

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

Modified: ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/eval/RelationExtractorEvaluation.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/eval/RelationExtractorEvaluation.java?rev=1662510&r1=1662509&r2=1662510&view=diff
==============================================================================
--- ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/eval/RelationExtractorEvaluation.java
(original)
+++ ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/eval/RelationExtractorEvaluation.java
Thu Feb 26 17:55:02 2015
@@ -123,16 +123,16 @@ public class RelationExtractorEvaluation
     BEST_PARAMETERS.put(DegreeOfTextRelation.class, new ParameterSettings(
         LibLinearStringOutcomeDataWriter.class,
         new Object[] { RelationExtractorAnnotator.PARAM_PROBABILITY_OF_KEEPING_A_NEGATIVE_EXAMPLE,
-            0.5f },
-        new String[] { "-s", "1", "-c", "0.5" }));
+            1.0f },
+        new String[] { "-s", "1", "-c", "0.1" }));
 
     RELATION_CLASSES.put("location_of", LocationOfTextRelation.class);
     ANNOTATOR_CLASSES.put(LocationOfTextRelation.class, LocationOfRelationExtractorAnnotator.class);
     BEST_PARAMETERS.put(LocationOfTextRelation.class, new ParameterSettings(
         LibLinearStringOutcomeDataWriter.class,
         new Object[] { RelationExtractorAnnotator.PARAM_PROBABILITY_OF_KEEPING_A_NEGATIVE_EXAMPLE,
-            0.5f },
-        new String[] { "-s", "0", "-c", "1.0" }));
+            1.0f },
+        new String[] { "-s", "0", "-c", "50.0" }));
   }
 
   public static void main(String[] args) throws Exception {



Mime
View raw message