Package org.encog.neural.networks.training.cross

Examples of org.encog.neural.networks.training.cross.CrossValidationKFold.iteration()


    final CrossValidationKFold trainFolded = new CrossValidationKFold(train,4);

    int epoch = 1;

    do {
      trainFolded.iteration();
      System.out
          .println("Epoch #" + epoch + " Error:" + trainFolded.getError());
      epoch++;
    } while (trainFolded.getError() > MAX_ERROR);
  }
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.