org.vizzini.ai.neuralnetwork.function
Class ThresholdFunction

java.lang.Object
  extended by org.vizzini.ai.neuralnetwork.function.AbstractActivationFunction
      extended by org.vizzini.ai.neuralnetwork.function.ThresholdFunction
All Implemented Interfaces:
Serializable, IActivationFunction

public class ThresholdFunction
extends AbstractActivationFunction

Provides a threshold activation function for a neural network. This function returns a value in [0,1].

Since:
v0.3
Version:
v0.3
Author:
Jeffrey M. Thompson
See Also:
Serialized Form

Constructor Summary
ThresholdFunction()
           
 
Method Summary
 double calcDerivative(double x)
          Calculate the derivative of this function at the given input.
 double calculate(double x)
          Calculate the value of this function at the given input.
 double getMaximum()
          Return the maximum value this function can produce.
 double getMinimum()
          Return the minimum value this function can produce.
 
Methods inherited from class org.vizzini.ai.neuralnetwork.function.AbstractActivationFunction
equals, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ThresholdFunction

public ThresholdFunction()
Method Detail

calcDerivative

public double calcDerivative(double x)
Calculate the derivative of this function at the given input.

Since:
v0.3

calculate

public double calculate(double x)
Calculate the value of this function at the given input.

Since:
v0.3

getMaximum

public double getMaximum()
Return the maximum value this function can produce.

Since:
v0.3

getMinimum

public double getMinimum()
Return the minimum value this function can produce.

Since:
v0.3


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02