org.encog.mathutil.randomize
public class NguyenWidrowRandomizer extends BasicRandomizer
| Constructor and Description |
|---|
NguyenWidrowRandomizer() |
| Modifier and Type | Method and Description |
|---|---|
double |
randomize(double d)
Starting with the specified number, randomize it to the degree specified
by this randomizer.
|
void |
randomize(double[] d)
Randomize the array based on an array, modify the array.
|
void |
randomize(double[][] d)
Randomize the 2d array based on an array, modify the array.
|
void |
randomize(double[] d,
int begin,
int size)
Randomize the array based on an array, modify the array.
|
void |
randomize(Matrix m)
Randomize the matrix based on an array, modify the array.
|
void |
randomize(MLMethod method)
Randomize the synapses and biases in the basic network based on an array,
modify the array.
|
getRandom, nextDouble, nextDouble, randomize, setRandompublic static String MSG
public void randomize(MLMethod method)
BasicRandomizerrandomize in interface Randomizerrandomize in class BasicRandomizermethod - A network to randomize.public double randomize(double d)
Randomizerd - The number to randomize.public void randomize(double[] d)
BasicRandomizerrandomize in interface Randomizerrandomize in class BasicRandomizerd - An array to randomize.public void randomize(double[][] d)
BasicRandomizerrandomize in interface Randomizerrandomize in class BasicRandomizerd - An array to randomize.public void randomize(Matrix m)
BasicRandomizerrandomize in interface Randomizerrandomize in class BasicRandomizerm - A matrix to randomize.public void randomize(double[] d,
int begin,
int size)
BasicRandomizerrandomize in interface Randomizerrandomize in class BasicRandomizerd - An array to randomize.begin - The beginning element of the array.size - The size of the array to copy.Copyright © 2014. All Rights Reserved.