You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ctakes.apache.org by dl...@apache.org on 2016/11/07 17:18:57 UTC
svn commit: r1768560 -
/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/nn/data/EventEventRelPrinter.java
Author: dligach
Date: Mon Nov 7 17:18:56 2016
New Revision: 1768560
URL: http://svn.apache.org/viewvc?rev=1768560&view=rev
Log:
disabled downsampling for now
Modified:
ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/nn/data/EventEventRelPrinter.java
Modified: ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/nn/data/EventEventRelPrinter.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/nn/data/EventEventRelPrinter.java?rev=1768560&r1=1768559&r2=1768560&view=diff
==============================================================================
--- ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/nn/data/EventEventRelPrinter.java (original)
+++ ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/nn/data/EventEventRelPrinter.java Mon Nov 7 17:18:56 2016
@@ -197,9 +197,9 @@ public class EventEventRelPrinter {
}
// drop some portion of negative examples during training
- if(isTraining && label.equals("none") && coin.nextDouble() <= 0.5) {
- continue; // skip this negative example
- }
+ // if(isTraining && label.equals("none") && coin.nextDouble() <= 0.5) {
+ // continue; // skip this negative example
+ // }
String context = ArgContextProvider.getTokenContext(systemView, sentence, mention1, "e1", mention2, "e2", 2);
// String context = ArgContextProvider.getRegions(systemView, sentence, mention1, mention2, 2);