Package org.encog.ml.ea.opp.selection

Examples of org.encog.ml.ea.opp.selection.TruncationSelection


  public static TrainEA constructNEATTrainer(final NEATPopulation population,
      final CalculateScore calculateScore) {
    final TrainEA result = new TrainEA(population, calculateScore);
    result.setSpeciation(new OriginalNEATSpeciation());

    result.setSelection(new TruncationSelection(result, 0.3));
    final CompoundOperator weightMutation = new CompoundOperator();
    weightMutation.getComponents().add(
        0.1125,
        new NEATMutateWeights(new SelectFixed(1),
            new MutatePerturbLinkWeight(0.02)));
View Full Code Here

TOP

Related Classes of org.encog.ml.ea.opp.selection.TruncationSelection

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.