Examples of populateMinorityClass()


Examples of org.apache.ctakes.temporal.utils.SMOTEplus.populateMinorityClass()

        }
        this.timeChunking.createChunks(timexCas, tokens, outcomes);
      }
    }
    if(this.isTraining() && this.smoteNumOfNeighbors >= 1){ //add synthetic instances to datawriter, if smote is selected
        Iterable<Instance<String>> syntheticInsts = smote.populateMinorityClass();
        for( Instance<String> sytheticInst: syntheticInsts){
          this.dataWriter.write(sytheticInst);
        }
      }
  }
View Full Code Here

Examples of org.apache.ctakes.temporal.utils.SMOTEplus.populateMinorityClass()

      if (!this.isTraining()) {
        this.eventChunking.createChunks(jCas, tokens, outcomes);
      }
    }
    if(this.isTraining() && this.smoteNumOfNeighbors >= 1){ //add synthetic instances to datawriter, if smote is selected
      Iterable<Instance<String>> syntheticInsts = smote.populateMinorityClass();
      for( Instance<String> sytheticInst: syntheticInsts){
        this.dataWriter.write(sytheticInst);
      }
    }
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.