|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mulan.classifier.neural.model.ActivationFunction
public abstract class ActivationFunction
Abstract base class for activation functions. The activation function is used in neural network to transform an input of each layer (neuron) and produce the output for next layer (neuron). Depending on learning algorithm, derivation of activation function might be necessary.
Constructor Summary | |
---|---|
ActivationFunction()
|
Method Summary | |
---|---|
abstract double |
activate(double input)
Computes an output value of the function for given input. |
abstract double |
derivative(double input)
Computes an output value of function derivation for given input. |
abstract double |
getMax()
Gets the maximum value the function can output. |
abstract 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 |
---|
public ActivationFunction()
Method Detail |
---|
public abstract double activate(double input)
input
- the input value to the function
public abstract double derivative(double input)
input
- the input value to the function
public abstract double getMax()
public abstract double getMin()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |