|
GClasses
|
Uses the derivative of the logistic function as an activation function. This is shaped somewhat like a bell-curve. More...
#include <GActivation.h>
Public Member Functions | |
| virtual double | center () |
| Returns 0.5. More... | |
| virtual GActivationFunction * | clone () |
| See the comment for GActivationFunction::clone. More... | |
| virtual double | derivative (double x) |
| Returns d*(1.0-d), where d=squash(x) More... | |
| virtual double | derivativeOfNet (double net, double activation) |
| Returns y*(1.0-y) More... | |
| virtual double | halfRange () |
| Returns 0.5. More... | |
| virtual double | identityBias () |
| Throws an exception. More... | |
| virtual double | identityDiag () |
| Throws an exception. More... | |
| virtual double | inverse (double y) |
| The logit function. Returns log(y)-log(1.0-y) More... | |
| virtual const char * | name () const |
| Returns the name of this activation function. More... | |
| virtual double | squash (double x) |
| The derivative of the logistic function. More... | |
Public Member Functions inherited from GClasses::GActivationFunction | |
| GActivationFunction () | |
| virtual | ~GActivationFunction () |
| 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... | |
Uses the derivative of the logistic function as an activation function. This is shaped somewhat like a bell-curve.
|
inlinevirtual |
Returns 0.5.
Implements GClasses::GActivationFunction.
|
inlinevirtual |
See the comment for GActivationFunction::clone.
Implements GClasses::GActivationFunction.
|
inlinevirtual |
Returns d*(1.0-d), where d=squash(x)
Implements GClasses::GActivationFunction.
|
inlinevirtual |
Returns y*(1.0-y)
Reimplemented from GClasses::GActivationFunction.
|
inlinevirtual |
Returns 0.5.
Implements GClasses::GActivationFunction.
|
inlinevirtual |
Throws an exception.
Implements GClasses::GActivationFunction.
|
inlinevirtual |
Throws an exception.
Implements GClasses::GActivationFunction.
|
inlinevirtual |
The logit function. Returns log(y)-log(1.0-y)
Implements GClasses::GActivationFunction.
|
inlinevirtual |
Returns the name of this activation function.
Implements GClasses::GActivationFunction.
|
inlinevirtual |
The derivative of the logistic function.
Implements GClasses::GActivationFunction.