GEP::Core::Float::FitnessFunctions::MeanSquaredPercentageError Class Reference

Evaluates the mean squared percentage error between FitnessFunction._expectedOutput and Genotype's output. More...

Inheritance diagram for GEP::Core::Float::FitnessFunctions::MeanSquaredPercentageError:

Inheritance graph
[legend]
Collaboration diagram for GEP::Core::Float::FitnessFunctions::MeanSquaredPercentageError:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MeanSquaredPercentageError (int teachingVariableCasesStartIndex, int teachingVariableCasesEndIndex, int testVariableCasesStartIndex, int testVariableCasesEndIndex, float[][] expectedOutput, int maxN_CasesOfNaNorInfinityToIgnore)
override void SetFitness (Common.Genotype genotype, bool isTest)
abstract void SetFitness (Genotype genotype, bool isTest)
 Sets the fitness of the given genotype.

Public Attributes

float[][] _expectedOutput
 The output expected for each variable case.
int _teachingVariableCasesStartIndex
 Indicates from what index teaching / learning cases start.
int _teachingVariableCasesEndIndex
 Indicates the last index of teaching / learning cases.
int _testVariableCasesStartIndex
 Indicates from what index testing cases start.
int _testVariableCasesEndIndex
 Indicates the last index of testing cases.
int _maxN_CasesOfNaNorInfinityToIgnore
 Specifies how many times a fitness function, with different variable cases, can be an invalid number, but still the genotype be considered fit.

Protected Attributes

float[] _expectedOutputVectorSize
 The expected output vector length in all variable cases.


Detailed Description

Evaluates the mean squared percentage error between FitnessFunction._expectedOutput and Genotype's output.

Definition at line 13 of file MeanSquaredPercentageError.cs.


The documentation for this class was generated from the following file:
GEP .NET Framwork Main Page
SourceForge.net Logo