C# Класс Accord.Neuro.Learning.EvolutionaryFitness

Fitness function used for chromosomes representing collection of neural network's weights.
Наследование: IFitnessFunction
Показать файл Открыть проект

Открытые методы

Метод Описание
Evaluate ( IChromosome chromosome ) : double

Evaluates chromosome.

The method calculates fitness value of the specified chromosome.

EvolutionaryFitness ( ActivationNetwork network, double input, double output ) : Accord.Genetic

Initializes a new instance of the EvolutionaryFitness class.

Описание методов

Evaluate() публичный Метод

Evaluates chromosome.
The method calculates fitness value of the specified chromosome.
public Evaluate ( IChromosome chromosome ) : double
chromosome IChromosome Chromosome to evaluate.
Результат double

EvolutionaryFitness() публичный Метод

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 ) : Accord.Genetic
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).
Результат Accord.Genetic