SciLib.Neuro
Class sigmoid

java.lang.Object
  extended by SciLib.Neuro.sigmoid
All Implemented Interfaces:
Activation

public class sigmoid
extends java.lang.Object
implements Activation

This class defines a sigmoid activation function.


Constructor Summary
sigmoid()
           
 
Method Summary
 double g(double x)
           
 double gDerivative(double y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

sigmoid

public sigmoid()
Method Detail

g

public double g(double x)
Specified by:
g in interface Activation

gDerivative

public double gDerivative(double y)
Specified by:
gDerivative in interface Activation