The Encog Project

org.encog.neural.networks.training.genetic
Class TrainingSetNeuralGeneticAlgorithm

java.lang.Object
  extended by org.encog.neural.networks.training.BasicTraining
      extended by org.encog.neural.networks.training.genetic.NeuralGeneticAlgorithm
          extended by org.encog.neural.networks.training.genetic.TrainingSetNeuralGeneticAlgorithm
All Implemented Interfaces:
Train

public class TrainingSetNeuralGeneticAlgorithm
extends NeuralGeneticAlgorithm

Implements a genetic algorithm that allows a neural network to be trained using a genetic algorithm. This algorithm is for a neural network. The neural network is trained using training sets.


Constructor Summary
TrainingSetNeuralGeneticAlgorithm(BasicNetwork network, Randomizer randomizer, NeuralDataSet training, int populationSize, double mutationPercent, double percentToMate)
          Construct a training object.
 
Method Summary
 
Methods inherited from class org.encog.neural.networks.training.genetic.NeuralGeneticAlgorithm
getGenetic, getNetwork, iteration, setGenetic
 
Methods inherited from class org.encog.neural.networks.training.BasicTraining
addStrategy, getError, getStrategies, getTraining, postIteration, preIteration, setError, setTraining
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrainingSetNeuralGeneticAlgorithm

public TrainingSetNeuralGeneticAlgorithm(BasicNetwork network,
                                         Randomizer randomizer,
                                         NeuralDataSet training,
                                         int populationSize,
                                         double mutationPercent,
                                         double percentToMate)
Construct a training object.

Parameters:
network - The network to train.
randomizer - The randomizer to use to create new networks.
training - The training set.
populationSize - The population size.
mutationPercent - The mutation percent.
percentToMate - The percent to mate.

The Encog Project