GClasses
GClasses::GActivationLogisticDerivative Class Reference

Uses the derivative of the logistic function as an activation function. This is shaped somewhat like a bell-curve. More...

#include <GActivation.h>

Inheritance diagram for GClasses::GActivationLogisticDerivative:
GClasses::GActivationFunction

Public Member Functions

virtual double center ()
 Returns 0.5. More...
 
virtual GActivationFunctionclone ()
 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 ()
 
GDomNodeserialize (GDom *pDoc) const
 Serialize this object. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from GClasses::GActivationFunction
static GActivationFunctiondeserialize (GDomNode *pNode)
 Deserialize this object. More...
 

Detailed Description

Uses the derivative of the logistic function as an activation function. This is shaped somewhat like a bell-curve.

Member Function Documentation

virtual double GClasses::GActivationLogisticDerivative::center ( )
inlinevirtual

Returns 0.5.

Implements GClasses::GActivationFunction.

virtual GActivationFunction* GClasses::GActivationLogisticDerivative::clone ( )
inlinevirtual
virtual double GClasses::GActivationLogisticDerivative::derivative ( double  x)
inlinevirtual

Returns d*(1.0-d), where d=squash(x)

Implements GClasses::GActivationFunction.

virtual double GClasses::GActivationLogisticDerivative::derivativeOfNet ( double  net,
double  activation 
)
inlinevirtual

Returns y*(1.0-y)

Reimplemented from GClasses::GActivationFunction.

virtual double GClasses::GActivationLogisticDerivative::halfRange ( )
inlinevirtual

Returns 0.5.

Implements GClasses::GActivationFunction.

virtual double GClasses::GActivationLogisticDerivative::identityBias ( )
inlinevirtual

Throws an exception.

Implements GClasses::GActivationFunction.

virtual double GClasses::GActivationLogisticDerivative::identityDiag ( )
inlinevirtual

Throws an exception.

Implements GClasses::GActivationFunction.

virtual double GClasses::GActivationLogisticDerivative::inverse ( double  y)
inlinevirtual

The logit function. Returns log(y)-log(1.0-y)

Implements GClasses::GActivationFunction.

virtual const char* GClasses::GActivationLogisticDerivative::name ( ) const
inlinevirtual

Returns the name of this activation function.

Implements GClasses::GActivationFunction.

virtual double GClasses::GActivationLogisticDerivative::squash ( double  x)
inlinevirtual

The derivative of the logistic function.

Implements GClasses::GActivationFunction.