GClasses
|
This is an output-layer activation function shaped like a sigmoid, but with both a co-domain and domain that spans the continuous values. More...
#include <GActivation.h>
Public Member Functions | |
virtual const char * | name () |
Returns the name of this activation function. | |
virtual double | squash (double x) |
The activation function. | |
virtual double | derivative (double x) |
The derivative of the activation function. | |
virtual double | inverse (double y) |
The inverse of the activation function. (This function may throw an exception if the activation function cannot be inverted.) | |
virtual double | center () |
Returns 0.0. | |
virtual double | halfRange () |
Returns 1e308. | |
virtual GActivationFunction * | clone () |
See the comment for GActivationFunction::clone. |
This is an output-layer activation function shaped like a sigmoid, but with both a co-domain and domain that spans the continuous values.
virtual double GClasses::GActivationBiDir::center | ( | ) | [inline, virtual] |
Returns 0.0.
Implements GClasses::GActivationFunction.
virtual GActivationFunction* GClasses::GActivationBiDir::clone | ( | ) | [inline, virtual] |
See the comment for GActivationFunction::clone.
Implements GClasses::GActivationFunction.
virtual double GClasses::GActivationBiDir::derivative | ( | double | x | ) | [inline, virtual] |
The derivative of the activation function.
Implements GClasses::GActivationFunction.
virtual double GClasses::GActivationBiDir::halfRange | ( | ) | [inline, virtual] |
Returns 1e308.
Implements GClasses::GActivationFunction.
virtual double GClasses::GActivationBiDir::inverse | ( | double | y | ) | [inline, virtual] |
The inverse of the activation function. (This function may throw an exception if the activation function cannot be inverted.)
Implements GClasses::GActivationFunction.
virtual const char* GClasses::GActivationBiDir::name | ( | ) | [inline, virtual] |
Returns the name of this activation function.
Implements GClasses::GActivationFunction.
virtual double GClasses::GActivationBiDir::squash | ( | double | x | ) | [inline, virtual] |
The activation function.
Implements GClasses::GActivationFunction.