|
GClasses
|
This is a canonical wavelet. Has a "Mexican-hat" shape. More...
#include <GActivation.h>
Public Member Functions | |
| virtual double | center () |
| Returns 0.4. More... | |
| virtual GActivationFunction * | clone () |
| See the comment for GActivationFunction::clone. More... | |
| virtual double | derivative (double x) |
| The derivative of the activation function. More... | |
| virtual double | halfRange () |
| Returns 0.6. More... | |
| virtual double | identityBias () |
| Throws an exception. More... | |
| virtual double | identityDiag () |
| Throws an exception. More... | |
| virtual double | inverse (double y) |
| The inverse of the activation function. (This function may throw an exception if the activation function cannot be inverted.) More... | |
| virtual const char * | name () const |
| Returns the name of this activation function. More... | |
| virtual double | squash (double x) |
| The activation function. More... | |
Public Member Functions inherited from GClasses::GActivationFunction | |
| GActivationFunction () | |
| virtual | ~GActivationFunction () |
| virtual double | derivativeOfNet (double net, double activation) |
| This computes the derivative of the net value. (Sometimes, such as with GActivationLogistic, it is more efficient to compute this from the activation value, so both are provided.) More... | |
| GDomNode * | serialize (GDom *pDoc) const |
| Serialize this object. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from GClasses::GActivationFunction | |
| static GActivationFunction * | deserialize (GDomNode *pNode) |
| Deserialize this object. More... | |
This is a canonical wavelet. Has a "Mexican-hat" shape.
|
inlinevirtual |
Returns 0.4.
Implements GClasses::GActivationFunction.
|
inlinevirtual |
See the comment for GActivationFunction::clone.
Implements GClasses::GActivationFunction.
|
inlinevirtual |
The derivative of the activation function.
Implements GClasses::GActivationFunction.
|
inlinevirtual |
Returns 0.6.
Implements GClasses::GActivationFunction.
|
inlinevirtual |
Throws an exception.
Implements GClasses::GActivationFunction.
|
inlinevirtual |
Throws an exception.
Implements GClasses::GActivationFunction.
|
inlinevirtual |
The inverse of the activation function. (This function may throw an exception if the activation function cannot be inverted.)
Implements GClasses::GActivationFunction.
|
inlinevirtual |
Returns the name of this activation function.
Implements GClasses::GActivationFunction.
|
inlinevirtual |
The activation function.
Implements GClasses::GActivationFunction.