Protected Static (Shared) Fields

rand The random number generator

Public Instance Constructors

GeneticLearningAlgorithm Constructor GeneticLearningAlgorithm constructor

Public Instance Properties

Error (inherited from LearningAlgorithm) Get the last square error
ErrorTreshold (inherited from LearningAlgorithm) Get or set the maximum sum of square errors value ( >0)
Iteration (inherited from LearningAlgorithm) Get the current number of learning iterations done
MaxIteration (inherited from LearningAlgorithm) Get or set the maximum number of learning iterations.
MaxMutationAmplitude Get or set the maximum mutation amplitude
MutationRatio Get or set the mutation ratio (between 0 and 100)
N_Network (inherited from LearningAlgorithm) Get the neural network of the learning algorithm
PopulationSize Get or set the population size
SelectionRatio get or set the selection ratio

Public Instance Methods

Equals (inherited from Object)Select the method name to go to the Microsoft documentation.
GetHashCode (inherited from Object)Select the method name to go to the Microsoft documentation.
GetType (inherited from Object)Select the method name to go to the Microsoft documentation.
Learn To train the neuronal network on data. inputs[n] represents an input vector of the neural network and expected_outputs[n] the expected ouput for this vector.
RandomizePopulation Make a new random population
ToString (inherited from Object)Select the method name to go to the Microsoft documentation.

Protected Instance Fields

error
ERROR_THRESHOLD
ins
iter
MAX_ITER
MAX_MUTATION_AMP Maximum mutation amplitude
MUTATION_RATIO The mutation ratio during crossover
nn
outs
population The population of GeneticNeuralNetwork
POPULATION_SIZE The population size
SELECTION_RATIO The ratio of population selected for crossover

Protected Instance Properties

MutationValue Get the random amplitude of a mutation
Mute Get a bool with MUTATION_RATIO/100 probability to be true
Muted_NeuralNetwork get a muted GeneticNeuralNetwork from the neural network
RandSelectionIndex Get a random selected neural network in the population

Protected Instance Methods

ComputeErrors Computes square error for each GeneticNeuralNetwork in population
CrossOver Define the crossover operator for 2 GeneticNeuralNetwork
Finalize (inherited from Object)Select the method name to go to the Microsoft documentation.
makeNewGeneration Compute the new generation
MemberwiseClone (inherited from Object)Select the method name to go to the Microsoft documentation.

See Also

GeneticLearningAlgorithm Class | NeuralNetwork Namespace