|
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.Tanh
public class Tanh
Tanh neuron transfer function. output = ( 1 - e^(-slope*input)) / ( 1 + e^(-slope*input) )
| Constructor Summary | |
|---|---|
Tanh()
Creates an instance of Tanh neuron transfer function with default slope=1. |
|
Tanh(double slope)
Creates an instance of Tanh neuron transfer function with specified value for slope parametar. |
|
Tanh(java.util.Properties properties)
Creates an instance of Tanh neuron transfer function with the specified properties. |
|
| Method Summary | |
|---|---|
double |
getDerivative(double net)
Returns the first derivative of this function. |
double |
getOutput(double net)
Returns the ouput of this function. |
double |
getSlope()
Returns the slope parametar of this function |
void |
setSlope(double slope)
Sets the slope parametar for this function |
| Methods inherited from class org.neuroph.core.transfer.TransferFunction |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Tanh()
public Tanh(double slope)
slope - the slope parametar for the Tanh functionpublic Tanh(java.util.Properties properties)
properties - properties of the Tanh function| Method Detail |
|---|
public double getOutput(double net)
TransferFunction
getOutput in class TransferFunctionnet - net inputpublic double getDerivative(double net)
TransferFunction
getDerivative in class TransferFunctionnet - net inputpublic double getSlope()
public void setSlope(double slope)
slope - value for the slope parametar
|
Neuroph | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||