org.neuroph.core.transfer
Class Step
- java.lang.Object
-
- org.neuroph.core.transfer.TransferFunction
-
- org.neuroph.core.transfer.Step
-
- All Implemented Interfaces:
- java.io.Serializable
public class Step extends TransferFunction implements java.io.Serializable
Step neuron transfer function. y = yHigh, x > 0 y = yLow, x <= 0- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description Step()Creates an instance of Step transfer functionStep(Properties properties)Creates an instance of Step transfer function with specified properties
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublegetOutput(double net)Returns the ouput of this function.PropertiesgetProperties()Returns the properties of this functiondoublegetYHigh()Returns output value for high output leveldoublegetYLow()Returns output value for low output levelvoidsetYHigh(double yHigh)Set output value for the high output levelvoidsetYLow(double yLow)Set output value for the low output level-
Methods inherited from class org.neuroph.core.transfer.TransferFunction
getDerivative
-
-
-
-
Constructor Detail
-
Step
public Step()
Creates an instance of Step transfer function
-
Step
public Step(Properties properties)
Creates an instance of Step transfer function with specified properties
-
-
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
-
getYHigh
public double getYHigh()
Returns output value for high output level- Returns:
- output value for high output level
-
setYHigh
public void setYHigh(double yHigh)
Set output value for the high output level- Parameters:
yHigh- value for the high output level
-
getYLow
public double getYLow()
Returns output value for low output level- Returns:
- output value for low output level
-
setYLow
public void setYLow(double yLow)
Set output value for the low output level- Parameters:
yLow- value for the low output level
-
getProperties
public Properties getProperties()
Returns the properties of this function- Returns:
- properties of this function
-
-
DMelt 3.0 © DataMelt by jWork.ORG