Method | 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 ( |
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.
|
Method | Description | |
---|---|---|
CalculateValue ( int rows ) : double |
Calculate the fan-in value.
|
|
CauseError ( ) : void |
Throw an error if this class is used improperly.
|
public FanInRandomizer ( double boundary, bool sqrt ) : System | ||
boundary | double | The boundary for the fan-in. |
sqrt | bool | |
return | System |
public FanInRandomizer ( double aLowerBound, double anUpperBound, bool sqrt ) : System | ||
aLowerBound | double | The lower bound. |
anUpperBound | double | The upper bound. |
sqrt | bool | |
return | System |
public Randomize ( double d ) : double | ||
d | double | The number to randomize. |
return | double |
public Randomize ( |
||
network | The network to randomize | |
fromLayer | int | The from level to randomize. |
return | void |
public Randomize ( Matrix m ) : void | ||
m | Matrix | A matrix to randomize. |
return | void |
public Randomize ( double d ) : void | ||
d | double | An array to randomize. |
return | void |