1 #ifndef CIDENTITYACTIVATIONFUNCTION_H
2 #define CIDENTITYACTIVATIONFUNCTION_H
15 virtual double CalcDeriv(
const double input);
21 #endif // CIDENTITYACTIVATIONFUNCTION_H
virtual double CalcOutput(const double input)
The function that maps between the weighted sum that's the input of the neuron and the output...
virtual ~IdentityActivationFunction()
IdentityActivationFunction()
This activation function simply outputs its input.
virtual double CalcDeriv(const double input)
The derivative of the function defined in CalcOutput.
The base class for all activation functions in neural network.