C# Класс 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.
Наследование: IRandomizer
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

NguyenWidrowRandomizer() публичный Метод

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.
Результат System

Randomize() публичный Метод

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.
Результат void

Randomize() публичный закрытый Метод

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.
Результат void