org.jscience.computing.ai.neurocomputing
Class Activation.Sigmoid

java.lang.Object
  extended by org.jscience.computing.ai.neurocomputing.Activation.Sigmoid
All Implemented Interfaces:
Activation
Enclosing interface:
Activation

public static class Activation.Sigmoid
extends java.lang.Object
implements Activation

Sigmoid activation function.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jscience.computing.ai.neurocomputing.Activation
Activation.None, Activation.Sigmoid, Activation.Stepped, Activation.Tanh
 
Constructor Summary
Activation.Sigmoid()
           
 
Method Summary
 double function(double in)
          Return f(x) = 1/(1+e-x.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Activation.Sigmoid

public Activation.Sigmoid()
Method Detail

function

public double function(double in)
Return f(x) = 1/(1+e-x.

Specified by:
function in interface Activation
Parameters:
in - the input weight.
Returns:
sigmoid activation function.