GPLIB++
BipolarActivationFunction.h
Go to the documentation of this file.
1 #ifndef CBIPOLARACTIVATIONFUNCTION_H
2 #define CBIPOLARACTIVATIONFUNCTION_H
3 
5 
6 namespace gplib
7  {
8  /** \addtogroup neuralnet Neural Network filtering */
9  /* @{ */
10  //! The bipolar activation function is a common function in NN applications
11  /*! The output is \f$ \tanh (0.5 x) \f$ and can assume values between \f$ -1 \ldots 1 \f$.
12  */
14  {
15  public:
16  virtual double CalcOutput(const double input);
17  virtual double CalcDeriv(const double input);
20  };
21  /* @} */
22  }
23 #endif // CBIPOLARACTIVATIONFUNCTION_H
virtual double CalcDeriv(const double input)
The derivative of the function defined in CalcOutput.
virtual double CalcOutput(const double input)
The function that maps between the weighted sum that's the input of the neuron and the output...
The base class for all activation functions in neural network.
The bipolar activation function is a common function in NN applications.