com.anji.nn
Interface ActivationFunction

All Known Implementing Classes:
ClampedLinearActivationFunction, EvSailSigmoidActivationFunction, InverseAbsActivationFunction, LinearActivationFunction, SigmoidActivationFunction, SignedClampedLinearActivationFunction, SignedStepActivationFunction, StepActivationFunction, TanhActivationFunction, TanhCubicActivationFunction

public interface ActivationFunction

Abstracts activation function for neurons.

Author:
Philip Tucker

Method Summary
 double apply(double input)
          Apply activation function to input.
 long cost()
           
 double getMaxValue()
           
 double getMinValue()
           
 

Method Detail

apply

double apply(double input)
Apply activation function to input.

Parameters:
input -
Returns:
double result of applying activation function to input

getMaxValue

double getMaxValue()
Returns:
ceiling value for this function

getMinValue

double getMinValue()
Returns:
floor value for this function

cost

long cost()
Returns:
number corresponding to cost of activation in resources