C# Класс Encog.Mathutil.Randomize.FanInRandomizer

Наследование: Encog.MathUtil.Randomize.BasicRandomizer
Показать файл Открыть проект

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

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

Приватные методы

Метод Описание
CalculateValue ( int rows ) : double

Calculate the fan-in value.

CauseError ( ) : void

Throw an error if this class is used improperly.

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

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

Create a fan-in randomizer with default values.
public FanInRandomizer ( ) : System
Результат System

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

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

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

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

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

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

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() публичный Метод

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

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

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