C# Class AForge.Neuro.Learning.EvolutionaryFitness

Fitness function used for chromosomes representing collection of neural network's weights.
Inheritance: IFitnessFunction
Afficher le fichier Open project: holisticware-admin/MonoVersal.AForgeNET

Méthodes publiques

Méthode Description
Evaluate ( IChromosome chromosome ) : double

Evaluates chromosome.

The method calculates fitness value of the specified chromosome.

EvolutionaryFitness ( ActivationNetwork network, double input, double output ) : System

Initializes a new instance of the EvolutionaryFitness class.

Method Details

Evaluate() public méthode

Evaluates chromosome.
The method calculates fitness value of the specified chromosome.
public Evaluate ( IChromosome chromosome ) : double
chromosome IChromosome Chromosome to evaluate.
Résultat double

EvolutionaryFitness() public méthode

Initializes a new instance of the EvolutionaryFitness class.
Length of inputs and outputs arrays must be equal and greater than 0. Length of each input vector must be equal to neural network's inputs count.
public EvolutionaryFitness ( ActivationNetwork network, double input, double output ) : System
network ActivationNetwork Neural network for which fitness will be calculated.
input double Input data samples for neural network.
output double Output data sampels for neural network (desired output).
Résultat System