mulan.classifier.neural.model
Class ActivationLinear

java.lang.Object
  extended by mulan.classifier.neural.model.ActivationFunction
      extended by mulan.classifier.neural.model.ActivationLinear
All Implemented Interfaces:
Serializable

public class ActivationLinear
extends ActivationFunction

Implements the linear activation function. The input is simply passed to the output. This activation function is commonly used for input units of networks, which serves as a place holders for input pattern and forwards them for processing.

Version:
2012.02.27
Author:
Jozef Vilcek
See Also:
Serialized Form

Constructor Summary
ActivationLinear()
           
 
Method Summary
 double activate(double input)
          Computes an output value of the function for given input.
 double derivative(double input)
          Computes an output value of function derivation for given input.
 double getMax()
          Gets the maximum value the function can output.
 double getMin()
          Gets the minimum value the function can output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivationLinear

public ActivationLinear()
Method Detail

activate

public double activate(double input)
Description copied from class: ActivationFunction
Computes an output value of the function for given input.

Specified by:
activate in class ActivationFunction
Parameters:
input - the input value to the function
Returns:
the output value

derivative

public double derivative(double input)
Description copied from class: ActivationFunction
Computes an output value of function derivation for given input.

Specified by:
derivative in class ActivationFunction
Parameters:
input - the input value to the function
Returns:
the output value

getMax

public double getMax()
Description copied from class: ActivationFunction
Gets the maximum value the function can output.

Specified by:
getMax in class ActivationFunction
Returns:
maximum value of the function

getMin

public double getMin()
Description copied from class: ActivationFunction
Gets the minimum value the function can output.

Specified by:
getMin in class ActivationFunction
Returns:
minimum value of the function