Examples of finishTraining()


Examples of com.heatonresearch.aifh.aco.ContinuousACO.finishTraining()

            ContinuousACO train = new ContinuousACO(network, score, 30);

            performIterations(train, 100000, 0.05, true);

            train.finishTraining();

            queryOneOfN(network, trainingData, species);


        } catch (Throwable t) {
View Full Code Here

Examples of com.heatonresearch.aifh.evolutionary.train.EvolutionaryAlgorithm.finishTraining()

        }

        System.out.println("Good solution found:");
        TreeGenome best = (TreeGenome) genetic.getBestGenome();
        System.out.println(eval.displayExpressionNormal(best.getRoot()));
        genetic.finishTraining();
    }

    /**
     * Main entry point.
     *
 
View Full Code Here

Examples of com.heatonresearch.aifh.evolutionary.train.basic.BasicEA.finishTraining()

        }

        System.out.println("Good solution found:");
        TreeGenome best = (TreeGenome) genetic.getBestGenome();
        System.out.println(eval.displayExpressionNormal(best.getRoot()));
        genetic.finishTraining();
    }

    /**
     * Main entry point.
     *
 
View Full Code Here

Examples of org.encog.neural.networks.training.propagation.resilient.ResilientPropagation.finishTraining()

    for(int i=1;i<=20;i++)
    {
      train.iteration();
      System.out.println("Iteration #" + i + " Error:" + train.getError());
    }
    train.finishTraining();
    long stop = System.currentTimeMillis();
    double diff = ((double)(stop - start))/1000.0;
    System.out.println("RPROP Result:" + diff + " seconds." );
    System.out.println("Final RPROP error: " + network.calculateError(data));
    return diff;
View Full Code Here

Examples of org.encog.neural.networks.training.propagation.resilient.ResilientPropagation.finishTraining()

    for(int i=1;i<=20;i++)
    {
      train.iteration();
      System.out.println("Iteration #" + i + " Error:" + train.getError());
    }
    train.finishTraining();
    long stop = System.currentTimeMillis();
    double diff = ((double)(stop - start))/1000.0;
    System.out.println("MPROP Result:" + diff + " seconds." );
    System.out.println("Final MPROP error: " + network.calculateError(data));
    return diff;
View Full Code Here

Examples of org.encog.neural.networks.training.propagation.resilient.ResilientPropagation.finishTraining()

    rprop.iteration();
    rprop.iteration();
    // these connections were removed, and should not have been "trained"
    Assert.assertEquals(0.0, network.getStructure().getFlat().getWeights()[0], 0.01);
    Assert.assertEquals(0.0, network.getStructure().getFlat().getWeights()[1], 0.01);   
    rprop.finishTraining();
  }
}
View Full Code Here

Examples of org.encog.neural.networks.training.propagation.resilient.ResilientPropagation.finishTraining()

    rprop.iteration();
    rprop.iteration();
    // these connections were removed, and should not have been "trained"
    Assert.assertEquals(0.0, network.getStructure().getFlat().getWeights()[0], 0.01);
    Assert.assertEquals(0.0, network.getStructure().getFlat().getWeights()[1], 0.01);   
    rprop.finishTraining();
  }
}
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.