|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.neural.networks.training.BasicTraining
org.encog.neural.networks.training.genetic.NeuralGeneticAlgorithm
public class NeuralGeneticAlgorithm
Implements a genetic algorithm that allows a feedforward neural network to be trained using a genetic algorithm. This algorithm is for a feed forward neural network. This class is somewhat undefined. If you wish to train the neural network using training sets, you should use the TrainingSetNeuralGeneticAlgorithm class. If you wish to use a cost function to train the neural network, then implement a subclass of this one that properly calculates the cost.
| Nested Class Summary | |
|---|---|
class |
NeuralGeneticAlgorithm.NeuralGeneticAlgorithmHelper
Very simple class that implements a genetic algorithm. |
| Constructor Summary | |
|---|---|
NeuralGeneticAlgorithm()
Construct the training class. |
|
| Method Summary | |
|---|---|
NeuralGeneticAlgorithm.NeuralGeneticAlgorithmHelper |
getGenetic()
|
BasicNetwork |
getNetwork()
Get the current best network from the training. |
void |
iteration()
Perform one training iteration. |
void |
setGenetic(NeuralGeneticAlgorithm.NeuralGeneticAlgorithmHelper genetic)
Set the genetic helper class. |
| Methods inherited from class org.encog.neural.networks.training.BasicTraining |
|---|
addStrategy, finishTraining, 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 |
|---|
public NeuralGeneticAlgorithm()
| Method Detail |
|---|
public NeuralGeneticAlgorithm.NeuralGeneticAlgorithmHelper getGenetic()
public BasicNetwork getNetwork()
Train
public void iteration()
public void setGenetic(NeuralGeneticAlgorithm.NeuralGeneticAlgorithmHelper genetic)
genetic - The genetic helper class.
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||