|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.neural.activation.ActivationSigmoid
public class ActivationSigmoid
ActivationSigmoid: The sigmoid activation function takes on a sigmoidal shape. Only positive numbers are generated. Do not use this activation function if negative number output is desired.
| Constructor Summary | |
|---|---|
ActivationSigmoid()
|
|
| Method Summary | |
|---|---|
double |
activationFunction(double d)
A threshold function for a neural network. |
Persistor |
createPersistor()
Create a persistor for this object. |
double |
derivativeFunction(double d)
Some training methods require the derivative. |
java.lang.String |
getDescription()
|
java.lang.String |
getName()
|
void |
setDescription(java.lang.String description)
|
void |
setName(java.lang.String name)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActivationSigmoid()
| Method Detail |
|---|
public double activationFunction(double d)
activationFunction in interface ActivationFunctiond - The input to the function.
public Persistor createPersistor()
createPersistor in interface EncogPersistedObjectpublic double derivativeFunction(double d)
derivativeFunction in interface ActivationFunctiond - The input.
public java.lang.String getDescription()
getDescription in interface EncogPersistedObjectpublic java.lang.String getName()
getName in interface EncogPersistedObjectpublic void setDescription(java.lang.String description)
setDescription in interface EncogPersistedObjectdescription - the description to setpublic void setName(java.lang.String name)
setName in interface EncogPersistedObjectname - the name to set
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||