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

This activation function simply outputs its input. More...

#include <IdentityActivationFunction.h>

Inheritance diagram for gplib::IdentityActivationFunction:
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...
 
 IdentityActivationFunction ()
 
virtual ~IdentityActivationFunction ()
 
- Public Member Functions inherited from gplib::GeneralActivationFunction
 GeneralActivationFunction ()
 
virtual ~GeneralActivationFunction ()
 

Detailed Description

This activation function simply outputs its input.

Definition at line 11 of file IdentityActivationFunction.h.

Constructor & Destructor Documentation

gplib::IdentityActivationFunction::IdentityActivationFunction ( )

Definition at line 6 of file IdentityActivationFunction.cpp.

gplib::IdentityActivationFunction::~IdentityActivationFunction ( )
virtual

Definition at line 9 of file IdentityActivationFunction.cpp.

Member Function Documentation

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

The derivative of the function defined in CalcOutput.

Implements gplib::GeneralActivationFunction.

Definition at line 18 of file IdentityActivationFunction.cpp.

double gplib::IdentityActivationFunction::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 13 of file IdentityActivationFunction.cpp.


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