#include <ParametrizedNeuron.h>
Inheritance diagram for ParametrizedNeuron:
Public Member Functions | |
ParametrizedNeuron (int label, real initialParameter=1.0, bool hasBias=true) | |
Creates a simple neuron with the given label. | |
virtual void | setDesiredOutput (real desired) |
Sets the desired output of the neuron. | |
virtual const char * | getClassName () |
Returns "ParametrizedNeuron". | |
Protected Member Functions | |
virtual void | _recacheOutput () |
Neuron::_recacheOutput. | |
virtual void | _recacheError () |
Neuron::_recacheError. | |
Protected Attributes | |
ParametrizedActivationFunction | _dParametrizedActivationFunction |
The derivative of the activation function, required for gradient descent training. | |
real | _parameter |
Current parameter of the activation function XXX: setParameter ?? |
If the parameter is adaptive, the modification can lie in _recacheError
, for example.
Status: untested
|
Creates a simple neuron with the given label.
|
|
|
|
|
|
Returns "ParametrizedNeuron".
Reimplemented in GABNeuron. |
|
Sets the desired output of the neuron. Should be called only for output neurons, i.e., those whose output is not connected to anyone else. Setting the desired output at these neurons will form the basis of error backpropagation
Implements AbstractNeuron. |
|
The derivative of the activation function, required for gradient descent training.
|
|
Current parameter of the activation function XXX: setParameter ??
|