GPLIB++
IdentityActivationFunction.h
Go to the documentation of this file.
1 #ifndef CIDENTITYACTIVATIONFUNCTION_H
2 #define CIDENTITYACTIVATIONFUNCTION_H
3 
5 
6 namespace gplib
7  {
8  /** \addtogroup neuralnet Neural Network filtering */
9  /* @{ */
10  //! This activation function simply outputs its input
12  {
13  public:
14  virtual double CalcOutput(const double input);
15  virtual double CalcDeriv(const double input);
18  };
19  /* @} */
20  }
21 #endif // CIDENTITYACTIVATIONFUNCTION_H
virtual double CalcOutput(const double input)
The function that maps between the weighted sum that's the input of the neuron and the output...
This activation function simply outputs its input.
virtual double CalcDeriv(const double input)
The derivative of the function defined in CalcOutput.
The base class for all activation functions in neural network.