File indexing completed on 2026-06-02 08:48:23
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef ACTIVATIONFUNCTIONLOGISTIC_H_
0009 #define ACTIVATIONFUNCTIONLOGISTIC_H_
0010
0011 #include "ActivationFunction.h"
0012
0013 namespace NumA {
0014
0015 class ActivationFunctionLogistic: public ActivationFunction {
0016
0017 public:
0018
0019 static const unsigned int classId;
0020
0021 ActivationFunctionLogistic();
0022 virtual ~ActivationFunctionLogistic();
0023 virtual ActivationFunctionLogistic* 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 ActivationFunctionLogistic(const ActivationFunctionLogistic& other);
0032 };
0033
0034 }
0035
0036 #endif