|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--javax.datamining.Enum
|
+--javax.datamining.algorithm.feedforwardneuralnet.ActivationFunction
The enumeration AcivationFunction
indicates the type of activation function used by
the neural layer. The activation function computes
the activation state of the neuron based on its
inputs. For a single neuron, activation can be
computed as a transform of the sum of the neural
inputs times the weights on those inputs, plus the
bias:
XZ = Sum(w(i) * input(i)) +
bias
Y = output(j) = activation(XZ)
Note that the neural inputs may be outputs from the previous layer.
The following is the list of activation functions defined in JDM.
The following is a list of activation functions that are not defined in JDM, but are reserved. (from PMML 2.1)
| Field Summary | |
static ActivationFunction |
hyperbolicTangent
|
static ActivationFunction |
linearIdentity
|
static ActivationFunction |
logistic
|
static ActivationFunction |
sign
|
static ActivationFunction |
softMax
|
static ActivationFunction |
symmetricSign
|
static ActivationFunction |
systemDefault
|
static ActivationFunction |
systemDetermined
|
| Method Summary | |
static void |
addExtension(java.lang.String name)
Adds a vendor extension name to ActivationFunction. |
static ActivationFunction |
valueOf(java.lang.String name)
Returns an instance of ActivationFunction corresponding to the specified name. |
static ActivationFunction[] |
values()
Returns a list of all ActivationFunction enumerations defined. |
| Methods inherited from class javax.datamining.Enum |
compareTo, equals, name |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final ActivationFunction hyperbolicTangent
public static final ActivationFunction linearIdentity
public static final ActivationFunction logistic
public static final ActivationFunction sign
public static final ActivationFunction softMax
public static final ActivationFunction symmetricSign
public static final ActivationFunction systemDefault
public static final ActivationFunction systemDetermined
| Method Detail |
public static void addExtension(java.lang.String name)
throws JDMException
name to ActivationFunction.
name - The name of the unique vendor extension
JDMException - When name is an invalid string or redundant to existing standard enums.
public static ActivationFunction valueOf(java.lang.String name)
throws JDMException
ActivationFunction corresponding to the specified name.
name - The name of the enumeration value
ActivationFunction - The instance of the specified enumeration.
JDMException - When name is not valid.public static ActivationFunction[] values()
ActivationFunction enumerations defined.
ActivationFunction[]
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||