GPLIB++
Public Member Functions | List of all members
gplib::BipolarActivationFunction Class Reference

The bipolar activation function is a common function in NN applications. More...

#include <BipolarActivationFunction.h>

Inheritance diagram for gplib::BipolarActivationFunction:
Inheritance graph
[legend]

Public Member Functions

virtual double CalcOutput (const double input)
 The function that maps between the weighted sum that's the input of the neuron and the output. More...
 
virtual double CalcDeriv (const double input)
 The derivative of the function defined in CalcOutput. More...
 
 BipolarActivationFunction ()
 
virtual ~BipolarActivationFunction ()
 
- Public Member Functions inherited from gplib::GeneralActivationFunction
 GeneralActivationFunction ()
 
virtual ~GeneralActivationFunction ()
 

Detailed Description

The bipolar activation function is a common function in NN applications.

The output is $ \tanh (0.5 x) $ and can assume values between $ -1 \ldots 1 $.

Definition at line 13 of file BipolarActivationFunction.h.

Constructor & Destructor Documentation

gplib::BipolarActivationFunction::BipolarActivationFunction ( )

Definition at line 8 of file BipolarActivationFunction.cpp.

gplib::BipolarActivationFunction::~BipolarActivationFunction ( )
virtual

Definition at line 11 of file BipolarActivationFunction.cpp.

Member Function Documentation

double gplib::BipolarActivationFunction::CalcDeriv ( const double  input)
virtual

The derivative of the function defined in CalcOutput.

Implements gplib::GeneralActivationFunction.

Definition at line 20 of file BipolarActivationFunction.cpp.

double gplib::BipolarActivationFunction::CalcOutput ( const double  input)
virtual

The function that maps between the weighted sum that's the input of the neuron and the output.

Implements gplib::GeneralActivationFunction.

Definition at line 15 of file BipolarActivationFunction.cpp.


The documentation for this class was generated from the following files: