C# Class Encog.Mathutil.Randomize.FanInRandomizer

Inheritance: Encog.MathUtil.Randomize.BasicRandomizer
Afficher le fichier Open project: encog/encog-silverlight-core

Méthodes publiques

Méthode Description
FanInRandomizer ( ) : System

Create a fan-in randomizer with default values.

FanInRandomizer ( double boundary, bool sqrt ) : System

Construct a fan-in randomizer along the specified boundary. The min will be -boundary and the max will be boundary.

FanInRandomizer ( double aLowerBound, double anUpperBound, bool sqrt ) : System

Construct a fan-in randomizer. Use the specified bounds.

Randomize ( double d ) : double

Starting with the specified number, randomize it to the degree specified by this randomizer. This could be a totally new random number, or it could be based on the specified number.

Randomize ( BasicNetwork network, int fromLayer ) : void

Randomize one level of a neural network.

Randomize ( Matrix m ) : void

Randomize the matrix based on an array, modify the array. Previous values may be used, or they may be discarded, depending on the randomizer.

Randomize ( double d ) : void

Randomize the array based on an array, modify the array. Previous values may be used, or they may be discarded, depending on the randomizer.

Private Methods

Méthode Description
CalculateValue ( int rows ) : double

Calculate the fan-in value.

CauseError ( ) : void

Throw an error if this class is used improperly.

Method Details

FanInRandomizer() public méthode

Create a fan-in randomizer with default values.
public FanInRandomizer ( ) : System
Résultat System

FanInRandomizer() public méthode

Construct a fan-in randomizer along the specified boundary. The min will be -boundary and the max will be boundary.
public FanInRandomizer ( double boundary, bool sqrt ) : System
boundary double The boundary for the fan-in.
sqrt bool
Résultat System

FanInRandomizer() public méthode

Construct a fan-in randomizer. Use the specified bounds.
public FanInRandomizer ( double aLowerBound, double anUpperBound, bool sqrt ) : System
aLowerBound double The lower bound.
anUpperBound double The upper bound.
sqrt bool
Résultat System

Randomize() public méthode

Starting with the specified number, randomize it to the degree specified by this randomizer. This could be a totally new random number, or it could be based on the specified number.
public Randomize ( double d ) : double
d double The number to randomize.
Résultat double

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 méthode

Randomize the matrix based on an array, modify the array. Previous values may be used, or they may be discarded, depending on the randomizer.
public Randomize ( Matrix m ) : void
m Matrix A matrix to randomize.
Résultat void

Randomize() public méthode

Randomize the array based on an array, modify the array. Previous values may be used, or they may be discarded, depending on the randomizer.
public Randomize ( double d ) : void
d double An array to randomize.
Résultat void