Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-06-02 08:48:23

0001 /*
0002  * ActivationFunctionSymetricThreshold.h
0003  *
0004  *  Created on: Apr 23, 2016
0005  *      Author: Pawel Sznajder
0006  */
0007 
0008 #ifndef ACTIVATIONFUNCTIONSYMETRICTHRESHOLD_H_
0009 #define ACTIVATIONFUNCTIONSYMETRICTHRESHOLD_H_
0010 
0011 #include "ActivationFunction.h"
0012 
0013 namespace NumA {
0014 
0015 class ActivationFunctionSymetricThreshold: public ActivationFunction {
0016 
0017 public:
0018 
0019     static const unsigned int classId;
0020 
0021     ActivationFunctionSymetricThreshold();
0022     virtual ~ActivationFunctionSymetricThreshold();
0023     virtual ActivationFunctionSymetricThreshold* clone() const;
0024 
0025     virtual double evaluate(double input);
0026     virtual double evaluateFirstDerivative(double input);
0027     virtual double evaluateSecondDerivative(double input);
0028 
0029 protected:
0030 
0031     ActivationFunctionSymetricThreshold(
0032             const ActivationFunctionSymetricThreshold& other);
0033 };
0034 
0035 }
0036 
0037 #endif /* ACTIVATIONFUNCTIONSYMETRICTHRESHOLD_H_ */