org.neuroph.core.transfer
Class Sin
- java.lang.Object
-
- org.neuroph.core.transfer.TransferFunction
-
- org.neuroph.core.transfer.Sin
-
- All Implemented Interfaces:
- java.io.Serializable
public class Sin extends TransferFunction
Sin neuron transfer function. output = sin(input)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description Sin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublegetDerivative(double net)Returns the first derivative of this function.doublegetOutput(double net)Returns the ouput of this function.
-
-
-
Method Detail
-
getOutput
public double getOutput(double net)
Description copied from class:TransferFunctionReturns the ouput of this function.- Specified by:
getOutputin classTransferFunction- Parameters:
net- total input
-
getDerivative
public double getDerivative(double net)
Description copied from class:TransferFunctionReturns the first derivative of this function. Note: should this method should be abstract?- Overrides:
getDerivativein classTransferFunction- Parameters:
net- total input
-
-
DMelt 3.0 © DataMelt by jWork.ORG