ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlig...@apache.org
Subject svn commit: r1450335 - /incubator/ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/pipelines/RelationExtractorTrain.java
Date Tue, 26 Feb 2013 18:24:22 GMT
Author: dligach
Date: Tue Feb 26 18:24:21 2013
New Revision: 1450335

URL: http://svn.apache.org/r1450335
Log:
updated training parameters to the settings determined recently through a grid search

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

Modified: incubator/ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/pipelines/RelationExtractorTrain.java
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/pipelines/RelationExtractorTrain.java?rev=1450335&r1=1450334&r2=1450335&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/pipelines/RelationExtractorTrain.java
(original)
+++ incubator/ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/pipelines/RelationExtractorTrain.java
Tue Feb 26 18:24:21 2013
@@ -162,8 +162,8 @@ public class RelationExtractorTrain {
     
     // Initialize component parameters
     ParameterSettings degreeOfParams = new ParameterSettings(false, 1.0f, "linear", 0.05,
1.0);
-    ParameterSettings emPairParams = new ParameterSettings(false, 0.5f, "linear", 0.05, 1.0);
-
+    ParameterSettings emPairParams = new ParameterSettings(false, 0.5f, "radial basis function",
100.0, 0.01);
+    
     // For now all three components use MultiClass SVMs for classification
     Class<? extends DataWriter<String>> dataWriterClass = LIBSVMStringOutcomeDataWriter.class;
         



Mime
View raw message