BipolarActivationFunction.h

Go to the documentation of this file.
00001 #ifndef CBIPOLARACTIVATIONFUNCTION_H
00002 #define CBIPOLARACTIVATIONFUNCTION_H
00003 
00004 #include "GeneralActivationFunction.h"
00005 
00006 /** \addtogroup neuralnet Neural Network filtering */
00007 /* @{ */
00008 //! The biploar activation function is a common function in NN applications
00009 /*! The output is \f$ \tanh (0.5 x) \f$ and can assume values between \f$ -1 \ldots 1 \f$.  
00010  */
00011 class BipolarActivationFunction : public GeneralActivationFunction{
00012 public:
00013         virtual double CalcOutput(const double input);
00014         virtual double CalcDeriv(const double input);
00015         BipolarActivationFunction();
00016         virtual ~BipolarActivationFunction();
00017 };
00018 /* @} */
00019 #endif // CBIPOLARACTIVATIONFUNCTION_H

Generated on Fri Jul 4 15:30:20 2008 for GPLIB++ by  doxygen 1.5.5