org.neuroph.core.transfer
Class TransferFunction
java.lang.Object
org.neuroph.core.transfer.TransferFunction
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- Gaussian, Linear, Log, Ramp, Sgn, Sigmoid, Sin, Step, Tanh, Trapezoid
public abstract class TransferFunction
- extends Object
- implements Serializable
Abstract base class for all neuron tranfer functions.
- Author:
- Zoran Sevarac
- See Also:
Neuron
,
Serialized Form
Field Summary |
protected double |
output
Output result |
Method Summary |
double |
getDerivative(double net)
Returns the first derivative of this function. |
abstract double |
getOutput(double net)
Returns the ouput of this function. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
output
protected double output
- Output result
TransferFunction
public TransferFunction()
getOutput
public abstract double getOutput(double net)
- Returns the ouput of this function.
- Parameters:
net
- net input
getDerivative
public double getDerivative(double net)
- Returns the first derivative of this function.
- Parameters:
net
- net input
Copyright © 2012. All Rights Reserved.