incubator-ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stevenbeth...@apache.org
Subject svn commit: r1424163 - /incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/Evaluation_ImplBase.java
Date Wed, 19 Dec 2012 22:00:47 GMT
Author: stevenbethard
Date: Wed Dec 19 22:00:47 2012
New Revision: 1424163

URL: http://svn.apache.org/viewvc?rev=1424163&view=rev
Log:
Make downratio and featureSelect parameters optional

Modified:
    incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/Evaluation_ImplBase.java

Modified: incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/Evaluation_ImplBase.java
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/Evaluation_ImplBase.java?rev=1424163&r1=1424162&r2=1424163&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/Evaluation_ImplBase.java
(original)
+++ incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/eval/Evaluation_ImplBase.java
Wed Dec 19 22:00:47 2012
@@ -85,10 +85,10 @@ public abstract class Evaluation_ImplBas
     @Option(longName = "patients")
     public CommandLine.IntegerRanges getPatients();
     
-    @Option(longName = "downratio")
-	public float getDownSampleRatio();
+    @Option(longName = "downratio", defaultValue="1")
+    public float getDownSampleRatio();
 
-    @Option(longName = "featureSelect")
+    @Option(longName = "featureSelect", defaultValue="0")
     public float getFeatureSelect(); //get feature selection cut off threshold is it is >
0. apply no FS if featureSelect == 0 
   }
 



Mime
View raw message