|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.neural.activation.ActivationUtil
public final class ActivationUtil
Utility classes for activation functions. Used to convert a single value to/from an array. This is necessary because the activation functions are designed to operate on arrays, rather than single values.
| Method Summary | |
|---|---|
static double |
fromArray(double[] d)
Get a single value from an array. |
static double[] |
toArray(double d)
Take a single value and create an array that holds it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static double fromArray(double[] d)
d - The array.
public static double[] toArray(double d)
d - The single value.
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||