Method | Description | |
---|---|---|
EvolutionaryLearning ( ActivationNetwork activationNetwork, int populationSize ) : System |
Initializes a new instance of the EvolutionaryLearning class. This version of constructor is used to create genetic population for searching optimal neural network's weight using default set of parameters, which are: In order to have full control over the above default parameters, it is possible to used extended version of constructor, which allows to specify all of the parameters. |
|
EvolutionaryLearning ( ActivationNetwork activationNetwork, int populationSize, IRandomNumberGenerator |
Initializes a new instance of the EvolutionaryLearning class.
|
|
Run ( double input, double output ) : double |
Runs learning iteration. |
|
RunEpoch ( double input, double output ) : double |
Runs learning epoch. |
Method | Description | |
---|---|---|
CalculateNetworkSize ( ActivationNetwork activationNetwork ) : int |
public EvolutionaryLearning ( ActivationNetwork activationNetwork, int populationSize ) : System | ||
activationNetwork | ActivationNetwork | Activation network to be trained. |
populationSize | int | Size of genetic population. |
return | System |
public EvolutionaryLearning ( ActivationNetwork activationNetwork, int populationSize, IRandomNumberGenerator |
||
activationNetwork | ActivationNetwork | Activation network to be trained. |
populationSize | int | Size of genetic population. |
chromosomeGenerator | IRandomNumberGenerator |
Random numbers generator used for initialization of genetic
/// population representing neural network's weights and thresholds (see |
mutationMultiplierGenerator | IRandomNumberGenerator |
Random numbers generator used to generate random
/// factors for multiplication of network's weights and thresholds during genetic mutation
/// (ses |
mutationAdditionGenerator | IRandomNumberGenerator |
Random numbers generator used to generate random
/// values added to neural network's weights and thresholds during genetic mutation
/// (see |
selectionMethod | ISelectionMethod | Method of selection best chromosomes in genetic population. |
crossOverRate | double | Crossover rate in genetic population (see
/// |
mutationRate | double | Mutation rate in genetic population (see
/// |
randomSelectionRate | double | Rate of injection of random chromosomes during selection
/// in genetic population (see |
return | System |
public Run ( double input, double output ) : double | ||
input | double | Input vector. |
output | double | Desired output vector. |
return | double |
public RunEpoch ( double input, double output ) : double | ||
input | double | Array of input vectors. |
output | double | Array of output vectors. |
return | double |