|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.util.randomize.BasicRandomizer
org.encog.util.randomize.Distort
public class Distort
A randomizer that distorts what is already present in the neural network.
| Constructor Summary | |
|---|---|
Distort(double factor)
Construct a distort randomizer for the specified factor. |
|
| Method Summary | |
|---|---|
double |
randomize(double d)
Distort the random number by the factor that was specified in the constructor. |
| Methods inherited from class org.encog.util.randomize.BasicRandomizer |
|---|
randomize, randomize, randomize, randomize, randomize, randomize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Distort(double factor)
factor - The randomizer factor.| Method Detail |
|---|
public double randomize(double d)
d - The number to distort.
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||