net.sourceforge.cilib.neuralnetwork.generic.neuron
Class TanHOutputFunction

java.lang.Object
  extended by net.sourceforge.cilib.neuralnetwork.generic.neuron.TanHOutputFunction
All Implemented Interfaces:
Serializable, NeuronFunction, Cloneable

public class TanHOutputFunction
extends Object
implements NeuronFunction

Hyperbollic Tangent Function.

See Also:
Serialized Form

Constructor Summary
TanHOutputFunction()
           
 
Method Summary
 Type computeDerivativeAtPos(Type pos)
          
 Type computeDerivativeUsingLastOutput(Type lastOut)
          
 Type computeFunction(Type in)
          
 TanHOutputFunction getClone()
          Create a cloned copy of the current object and return it.
 double getLowerActiveRange()
          Return the lowerbound for the active range of this NeuronFunction
 double getUpperActiveRange()
          Return the upperbound for the active range of this NeuronFunction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TanHOutputFunction

public TanHOutputFunction()
Method Detail

computeDerivativeAtPos

public Type computeDerivativeAtPos(Type pos)

Specified by:
computeDerivativeAtPos in interface NeuronFunction

computeDerivativeUsingLastOutput

public Type computeDerivativeUsingLastOutput(Type lastOut)

Specified by:
computeDerivativeUsingLastOutput in interface NeuronFunction

computeFunction

public Type computeFunction(Type in)

Specified by:
computeFunction in interface NeuronFunction

getClone

public TanHOutputFunction getClone()
Create a cloned copy of the current object and return it. In general the created copy will be a deep copy of the provided instance. As a result this operation an be quite expensive if used incorrectly.

Specified by:
getClone in interface NeuronFunction
Specified by:
getClone in interface Cloneable
Returns:
An exact clone of the current object instance.
See Also:
Object.clone()

getLowerActiveRange

public double getLowerActiveRange()
Return the lowerbound for the active range of this NeuronFunction The active range is -Sqrt(3) - Sqrt(3), and Sqrt(3) = 1.732050808

Specified by:
getLowerActiveRange in interface NeuronFunction
Returns:
the lowerbound

getUpperActiveRange

public double getUpperActiveRange()
Return the upperbound for the active range of this NeuronFunction

Specified by:
getUpperActiveRange in interface NeuronFunction
Returns:
the upperbound


Copyright © 2009 CIRG. All Rights Reserved.