C# Class Encog.MathUtil.Randomize.NguyenWidrowRandomizer

Implementation of Nguyen-Widrow weight initialization. This is the default weight initialization used by Encog, as it generally provides the most trainable neural network.
Inheritance: IRandomizer
Afficher le fichier Open project: encog/encog-silverlight-core Class Usage Examples

Méthodes publiques

Méthode Description
NguyenWidrowRandomizer ( double min, double max ) : System

Construct a Nguyen-Widrow randomizer.

Randomize ( BasicNetwork network, int fromLayer ) : void

Randomize one level of a neural network.

Randomize ( IMLMethod method ) : void

The Nguyen-Widrow initialization algorithm is the following : 1. Initialize all weight of hidden layers with (ranged) random values 2. For each hidden layer 2.1 calculate beta value, 0.7/// Nth(#neurons of input layer) root of #neurons of current layer 2.2 for each synapse 2.1.1 for each weight 2.1.2 Adjust weight by dividing by norm of weight for neuron and multiplying by beta value

Method Details

NguyenWidrowRandomizer() public méthode

Construct a Nguyen-Widrow randomizer.
public NguyenWidrowRandomizer ( double min, double max ) : System
min double The min of the range.
max double The max of the range.
Résultat System

Randomize() public méthode

Randomize one level of a neural network.
public Randomize ( BasicNetwork network, int fromLayer ) : void
network Encog.Neural.Networks.BasicNetwork The network to randomize
fromLayer int The from level to randomize.
Résultat void

Randomize() public final méthode

The Nguyen-Widrow initialization algorithm is the following : 1. Initialize all weight of hidden layers with (ranged) random values 2. For each hidden layer 2.1 calculate beta value, 0.7/// Nth(#neurons of input layer) root of #neurons of current layer 2.2 for each synapse 2.1.1 for each weight 2.1.2 Adjust weight by dividing by norm of weight for neuron and multiplying by beta value
public final Randomize ( IMLMethod method ) : void
method IMLMethod The network to randomize.
Résultat void