Package org.encog.app.analyst.script.segregate

Examples of org.encog.app.analyst.script.segregate.AnalystSegregateTarget


   */
  private void generateSegregate() {
    if (this.taskSegregate) {
      final AnalystSegregateTarget[] array
        = new AnalystSegregateTarget[2];
      array[0] = new AnalystSegregateTarget(
          AnalystWizard.FILE_TRAIN, DEFAULT_TRAIN_PERCENT);
      array[1] = new AnalystSegregateTarget(
          AnalystWizard.FILE_EVAL, DEFAULT_EVAL_PERCENT);
      this.script.getSegregate().setSegregateTargets(array);
    } else {
      final AnalystSegregateTarget[] array
        = new AnalystSegregateTarget[0];
View Full Code Here


      if (!first) {
        final List<String> cols = EncogFileSection.splitColumns(line);
        final String filename = cols.get(0);
        final int percent = Integer.parseInt(cols.get(1));

        final AnalystSegregateTarget nf = new AnalystSegregateTarget(
            filename, percent);
        nfs.add(nf);
      } else {
        first = false;
      }
View Full Code Here

   * Generate the segregate task.
   */
  private void generateSegregate() {
    if (this.taskSegregate) {
      final AnalystSegregateTarget[] array = new AnalystSegregateTarget[2];
      array[0] = new AnalystSegregateTarget(AnalystWizard.FILE_TRAIN,
          DEFAULT_TRAIN_PERCENT);
      array[1] = new AnalystSegregateTarget(AnalystWizard.FILE_EVAL,
          DEFAULT_EVAL_PERCENT);
      this.script.getSegregate().setSegregateTargets(array);
    } else {
      final AnalystSegregateTarget[] array = new AnalystSegregateTarget[0];
      this.script.getSegregate().setSegregateTargets(array);
View Full Code Here

      if (!first) {
        final List<String> cols = EncogFileSection.splitColumns(line);
        final String filename = cols.get(0);
        final int percent = Integer.parseInt(cols.get(1));

        final AnalystSegregateTarget nf = new AnalystSegregateTarget(
            filename, percent);
        nfs.add(nf);
      } else {
        first = false;
      }
View Full Code Here

TOP

Related Classes of org.encog.app.analyst.script.segregate.AnalystSegregateTarget

Copyright © 2018 www.massapicom. 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.