aima.learning.statistics
Class SquareActivationFunction

java.lang.Object
  extended by aima.learning.statistics.SquareActivationFunction
All Implemented Interfaces:
ActivationFunction

public class SquareActivationFunction
extends java.lang.Object
implements ActivationFunction


Constructor Summary
SquareActivationFunction()
           
 
Method Summary
 double activation(double parameter)
           
 double deriv(double parameter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SquareActivationFunction

public SquareActivationFunction()
Method Detail

activation

public double activation(double parameter)
Specified by:
activation in interface ActivationFunction

deriv

public double deriv(double parameter)
Specified by:
deriv in interface ActivationFunction