++ed by:
POTATOGIM SALVA NGLENN

3 PAUSE users
2 non-PAUSE users.

Rutger Vos
and 1 contributors

NAME

AI::FANN::Evolving::Experiment - an experiment in evolving artificial intelligence

METHODS

new

Constructor takes named arguments, sets default factory to AI::FANN::Evolving::Factory

workdir

Getter/Setter for the workdir where AI::FANN artificial neural networks will be written during the experiment. The files will be named after the ANN's error, which needs to be minimized.

traindata

Getter/setter for the AI::FANN::TrainData object.

run

Runs the experiment!

optimum

The optimal fitness is zero error in the ANN's classification. This method returns that value: 0.

error_func

Returns a function to compute the error. Given an argument, the following can happen: 'sign' => error is the average number of times observed and expected have different signs 'mse' => error is the mean squared difference between observed and expected CODE => error function is the provided code reference