javax.datamining.algorithm.feedforwardneuralnet
Class ActivationFunction

java.lang.Object
  |
  +--javax.datamining.Enum
        |
        +--javax.datamining.algorithm.feedforwardneuralnet.ActivationFunction
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class ActivationFunction
extends Enum

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)

Author:
JSR-73 Java Data Mining Expert Group
See Also:
Serialized Form

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

hyperbolicTangent

public static final ActivationFunction hyperbolicTangent

linearIdentity

public static final ActivationFunction linearIdentity

logistic

public static final ActivationFunction logistic

sign

public static final ActivationFunction sign

softMax

public static final ActivationFunction softMax

symmetricSign

public static final ActivationFunction symmetricSign

systemDefault

public static final ActivationFunction systemDefault

systemDetermined

public static final ActivationFunction systemDetermined
Method Detail

addExtension

public static void addExtension(java.lang.String name)
                         throws JDMException
Adds a vendor extension name to ActivationFunction.

Parameters:
name - The name of the unique vendor extension
Throws:
JDMException - When name is an invalid string or redundant to existing standard enums.

valueOf

public static ActivationFunction valueOf(java.lang.String name)
                                  throws JDMException
Returns an instance of ActivationFunction corresponding to the specified name.

Parameters:
name - The name of the enumeration value
Returns:
ActivationFunction - The instance of the specified enumeration.
Throws:
JDMException - When name is not valid.

values

public static ActivationFunction[] values()
Returns a list of all ActivationFunction enumerations defined.

Returns:
ActivationFunction[]