AI::FANN::Evolving - artificial neural network that evolves
Constructor requires 'file', or 'data' and 'neurons' arguments. Optionally takes 'connection_rate' argument for sparse topologies. Returns a wrapper around AI::FANN.
Uses the object as a template for the properties of the argument, e.g. $ann1->template($ann2) applies the properties of $ann1 to $ann2
Recombines (exchanges) properties between the two objects at the provided rate, e.g. $ann1->recombine($ann2,0.5) means that on average half of the object properties are exchanged between $ann1 and $ann2
Mutates the object by the provided mutation rate
Getter/setter to influence default ANN configuration
Clones the object
Trains the AI on the provided data object
Returns a hash whose keys are names of enums and values the possible states for the enum
Getter/setter for the error rate. Default is 0.0001
Getter/setter for the number of training epochs, default is 500000
Getter/setter for the number of epochs after which progress is printed. default is 1000
Getter/setter for the number of neurons. Default is 15
Getter/setter for the number of cascading neurons after which progress is printed. default is 10
Getter/setter for the training type: 'cascade' or 'ordinary'. Default is ordinary
Getter/setter for the function that maps inputs to outputs. default is FANN_SIGMOID_SYMMETRIC
To install AI::FANN::Evolving, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AI::FANN::Evolving
CPAN shell
perl -MCPAN -e shell install AI::FANN::Evolving
For more information on module installation, please visit the detailed CPAN module installation guide.