org.neuroph.core.transfer
Class TransferFunction
- java.lang.Object
-
- org.neuroph.core.transfer.TransferFunction
-
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- Gaussian, Linear, Log, Ramp, RectifiedLinear, Sgn, Sigmoid, Sin, SoftMax, Step, Tanh, Trapezoid
public abstract class TransferFunction extends java.lang.Object implements java.io.SerializableAbstract base class for all neuron tranfer functions.- See Also:
Neuron, Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description TransferFunction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description doublegetDerivative(double totalInput)Returns the first derivative of this function.abstract doublegetOutput(double totalInput)Returns the ouput of this function.
-
-
-
Method Detail
-
getOutput
public abstract double getOutput(double totalInput)
Returns the ouput of this function.- Parameters:
totalInput- total input
-
getDerivative
public double getDerivative(double totalInput)
Returns the first derivative of this function. Note: should this method should be abstract?- Parameters:
totalInput- total input
-
-
DMelt 3.0 © DataMelt by jWork.ORG