|
Neuroph | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.neuroph.core.transfer.TransferFunction
org.neuroph.core.transfer.Sgn
public class Sgn
The Sgn class provides sgn neuron transfer function.
Field Summary | |
---|---|
private static long |
serialVersionUID
The class fingerprint that is set to indicate serialization compatibility with a previous version of the class. |
Constructor Summary | |
---|---|
Sgn()
|
Method Summary | |
---|---|
double |
getOutput(double net)
y = 1, x > 0 y = -1, x <= 0 |
java.util.Properties |
getProperties()
Returns the properties of this function |
Methods inherited from class org.neuroph.core.transfer.TransferFunction |
---|
getDerivative, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
Constructor Detail |
---|
public Sgn()
Method Detail |
---|
public double getOutput(double net)
getOutput
in class TransferFunction
net
- net inputpublic java.util.Properties getProperties()
|
Neuroph | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |