AI::FANN::Evolving::Experiment - an experiment in evolving artificial intelligence
Constructor takes named arguments, sets default factory to AI::FANN::Evolving::Factory
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.
Getter/setter for the AI::FANN::TrainData object.
Runs the experiment!
The optimal fitness is zero error in the ANN's classification. This method returns that value: 0.
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