ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlig...@apache.org
Subject svn commit: r1767558 - /ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/nn/ae/EventEventTokenBasedAnnotator.java
Date Tue, 01 Nov 2016 20:17:15 GMT
Author: dligach
Date: Tue Nov  1 20:17:15 2016
New Revision: 1767558

URL: http://svn.apache.org/viewvc?rev=1767558&view=rev
Log:
removed downsampling for now

Modified:
    ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/nn/ae/EventEventTokenBasedAnnotator.java

Modified: ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/nn/ae/EventEventTokenBasedAnnotator.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/nn/ae/EventEventTokenBasedAnnotator.java?rev=1767558&r1=1767557&r2=1767558&view=diff
==============================================================================
--- ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/nn/ae/EventEventTokenBasedAnnotator.java
(original)
+++ ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/nn/ae/EventEventTokenBasedAnnotator.java
Tue Nov  1 20:17:15 2016
@@ -87,9 +87,9 @@ public class EventEventTokenBasedAnnotat
           String category = getRelationCategory(relationLookup, arg1, arg2);
           
           // drop some portion of negative examples during training
-          if(category == null && coin.nextDouble() <= 0.5) {
-            continue; // skip this negative example
-          }
+          // if(category == null && coin.nextDouble() <= 0.5) {
+          //   continue; // skip this negative example
+          // }
           
           if(category == null) {
             category = NO_RELATION_CATEGORY;



Mime
View raw message