org.neuroph.core.transfer
Class Sgn
- java.lang.Object
-
- org.neuroph.core.transfer.TransferFunction
-
- org.neuroph.core.transfer.Sgn
-
- All Implemented Interfaces:
- java.io.Serializable
public class Sgn extends TransferFunction implements java.io.Serializable
Sgn neuron transfer function.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description Sgn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublegetOutput(double net)y = 1, x > 0 y = -1, x <= 0java.util.PropertiesgetProperties()Returns the properties of this function-
Methods inherited from class org.neuroph.core.transfer.TransferFunction
getDerivative
-
-
-
-
Method Detail
-
getOutput
public double getOutput(double net)
y = 1, x > 0 y = -1, x <= 0- Specified by:
getOutputin classTransferFunction- Parameters:
net- total input
-
getProperties
public java.util.Properties getProperties()
Returns the properties of this function- Returns:
- properties of this function
-
-
DMelt 3.0 © DataMelt by jWork.ORG