|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.mathutil.randomize.NguyenWidrowRandomizer
public class NguyenWidrowRandomizer
Implementation of Nguyen-Widrow weight initialization. This is the default weight initialization used by Encog, as it generally provides the most train-able neural network.
| Field Summary | |
|---|---|
static String |
MSG
|
| Constructor Summary | |
|---|---|
NguyenWidrowRandomizer()
|
|
| Method Summary | |
|---|---|
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 an array. |
void |
randomize(Matrix m)
Randomize the matrix based on an array, modify the array. |
void |
randomize(MLMethod method)
Randomize the synapses and bias values in the basic network based on an array, modify the array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String MSG
| Constructor Detail |
|---|
public NguyenWidrowRandomizer()
| Method Detail |
|---|
public void randomize(MLMethod method)
Randomizer
randomize in interface Randomizermethod - A network to randomize.public double randomize(double d)
Randomizer
randomize in interface Randomizerd - The number to randomize.
public void randomize(double[] d)
Randomizer
randomize in interface Randomizerd - An array to randomize.public void randomize(double[][] d)
Randomizer
randomize in interface Randomizerd - An array to randomize.public void randomize(Matrix m)
Randomizer
randomize in interface Randomizerm - A matrix to randomize.
public void randomize(double[] d,
int begin,
int size)
Randomizer
randomize in interface Randomizerd - The array to randomize.begin - The beginning element.size - The size of the array.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||