Package org.encog.ml.data.cross

Examples of org.encog.ml.data.cross.KFoldCrossvalidation.process()


   * @return The trained method.
   */
  public MLMethod crossvalidate(int k, boolean shuffle) {
    KFoldCrossvalidation cross = new KFoldCrossvalidation(
        this.trainingDataset, k);
    cross.process(shuffle);

    int foldNumber = 0;
    for (DataFold fold : cross.getFolds()) {
      foldNumber++;
      report.report(k, foldNumber, "Fold #" + foldNumber);
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.