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

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

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

No activation function. Returns the input.


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.None()
           
 
Method Summary
 double function(double in)
          Returns the weight.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Activation.None

public Activation.None()
Method Detail

function

public double function(double in)
Returns the weight.

Specified by:
function in interface Activation
Parameters:
in - the input weight.
Returns:
the input weight (no change).