Method | Description | |
---|---|---|
NextDouble ( ) : double | ||
NextDouble ( double min, double max ) : double |
Generate a random number in the specified range.
|
|
Randomize ( double d ) : double |
from Encog.mathutil.randomize.Randomizer
|
|
Randomize ( |
Randomize one level of a neural network.
|
|
Randomize ( IMLMethod method ) : void |
Randomize the synapses and biases in the basic network based on an array, modify the array. Previous values may be used, or they may be discarded, depending on the randomizer.
|
|
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.
|
|
Randomize ( double d, int begin, int size ) : 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 | |
---|---|---|
BasicRandomizer ( ) : System |
Construct a random number generator with a random(current time) seed. If you want to set your own seed, just call "getRandom().setSeed".
|
public NextDouble ( double min, double max ) : double | ||
min | double | The minimum value. |
max | double | The maximum value. |
return | double |
public abstract Randomize ( double d ) : double | ||
d | double | |
return | double |
public Randomize ( |
||
network | The network to randomize | |
fromLayer | int | The from level to randomize. |
return | void |
public Randomize ( IMLMethod method ) : void | ||
method | IMLMethod | A network 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 |
public Randomize ( double d, int begin, int size ) : void | ||
d | double | An array to randomize. |
begin | int | The beginning element of the array. |
size | int | The size of the array to copy. |
return | void |