C# Class Accord.Neuro.GaussianWeights

Gaussian weight initialization.
Mostra file Open project: accord-net/framework

Public Methods

Method Description
GaussianWeights ( ActivationNetwork network, double stdDev = 0.1 ) : Accord.Math.Random

Constructs a new Gaussian Weight initialization.

Randomize ( ) : void

Randomizes (initializes) the weights of the network using a Gaussian distribution.

Randomize ( int layerIndex ) : void

Randomizes (initializes) the weights of the network using a Gaussian distribution.

Method Details

GaussianWeights() public method

Constructs a new Gaussian Weight initialization.
public GaussianWeights ( ActivationNetwork network, double stdDev = 0.1 ) : Accord.Math.Random
network ActivationNetwork The activation network whose weights will be initialized.
stdDev double The standard deviation to be used. Common values lie in the 0.001- /// 0.1 range. Default is 0.1.
return Accord.Math.Random

Randomize() public method

Randomizes (initializes) the weights of the network using a Gaussian distribution.
public Randomize ( ) : void
return void

Randomize() public method

Randomizes (initializes) the weights of the network using a Gaussian distribution.
public Randomize ( int layerIndex ) : void
layerIndex int
return void