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, setRandom
public static String MSG
public void randomize(MLMethod method)
BasicRandomizer
randomize
in interface Randomizer
randomize
in class BasicRandomizer
method
- A network to randomize.public double randomize(double d)
Randomizer
d
- The number to randomize.public void randomize(double[] d)
BasicRandomizer
randomize
in interface Randomizer
randomize
in class BasicRandomizer
d
- An array to randomize.public void randomize(double[][] d)
BasicRandomizer
randomize
in interface Randomizer
randomize
in class BasicRandomizer
d
- An array to randomize.public void randomize(Matrix m)
BasicRandomizer
randomize
in interface Randomizer
randomize
in class BasicRandomizer
m
- A matrix to randomize.public void randomize(double[] d, int begin, int size)
BasicRandomizer
randomize
in interface Randomizer
randomize
in class BasicRandomizer
d
- An array to randomize.begin
- The beginning element of the array.size
- The size of the array to copy.Copyright © 2014. All Rights Reserved.