C# 클래스 Accord.Neuro.Learning.EvolutionaryFitness

Fitness function used for chromosomes representing collection of neural network's weights.
상속: IFitnessFunction
파일 보기 프로젝트 열기: accord-net/framework

공개 메소드들

메소드 설명
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