1 #ifndef CGENERALACTIVATIONFUNCTION_H
2 #define CGENERALACTIVATIONFUNCTION_H
19 virtual double CalcOutput(
const double input) = 0;
21 virtual double CalcDeriv(
const double input) = 0;
27 #endif // CGENERALACTIVATIONFUNCTION_H
virtual double CalcOutput(const double input)=0
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.
virtual double CalcDeriv(const double input)=0
The derivative of the function defined in CalcOutput.
GeneralActivationFunction()
virtual ~GeneralActivationFunction()