GPLIB++
|
#include <InputNeuron.h>
Public Member Functions | |
virtual const std::vector < double > & | GetOldDelta () |
Vector valued delta for the momentum adaptation scheme. More... | |
virtual std::vector< double > & | SetOldDelta () |
virtual double | CalcDeriv (const double input) |
Calculate the derivative of the activation function, at point input. More... | |
virtual double | GetNet () |
Get the net output before application of the activation function. More... | |
virtual double | GetDelta () |
Get delta for the weight correction formula. More... | |
virtual void | SetDelta (const double d) |
Set delta. More... | |
virtual void | SetBias (const double b) |
Set the bias. More... | |
virtual double | GetBias () |
Get the bias. More... | |
virtual const std::vector < double > & | GetWeights () |
Access function for the weights. More... | |
virtual std::vector< double > & | SetWeights () |
virtual const GeneralLinearCombiner::tinvector & | GetInput () |
Get the pointers to the input neurons. More... | |
InputNeuron (double &Infield) | |
virtual | ~InputNeuron () |
Public Member Functions inherited from gplib::GeneralNeuron | |
double | GetOutput () |
Get the output given the current weights. More... | |
double | GetLastOutput () |
Get the last result from calling GetOutput, needed during adaptation. More... | |
virtual void | SetInput (const GeneralLinearCombiner::tinvector &input) |
Set pointers to the input. More... | |
GeneralNeuron () | |
virtual | ~GeneralNeuron () |
The iput neuron class provides the bridge between the network input and the other neurons, a lot of base class functionality does not make sense here and throws an exception, should think of a better way
Definition at line 13 of file InputNeuron.h.
|
inline |
Definition at line 66 of file InputNeuron.h.
|
inlinevirtual |
Definition at line 70 of file InputNeuron.h.
|
inlinevirtual |
Calculate the derivative of the activation function, at point input.
Implements gplib::GeneralNeuron.
Definition at line 32 of file InputNeuron.h.
|
inlinevirtual |
|
inlinevirtual |
Get delta for the weight correction formula.
Implements gplib::GeneralNeuron.
Definition at line 40 of file InputNeuron.h.
|
inlinevirtual |
Get the pointers to the input neurons.
Implements gplib::GeneralNeuron.
Definition at line 62 of file InputNeuron.h.
|
inlinevirtual |
Get the net output before application of the activation function.
Implements gplib::GeneralNeuron.
Definition at line 36 of file InputNeuron.h.
|
inlinevirtual |
Vector valued delta for the momentum adaptation scheme.
Implements gplib::GeneralNeuron.
Definition at line 24 of file InputNeuron.h.
|
inlinevirtual |
Access function for the weights.
Implements gplib::GeneralNeuron.
Definition at line 54 of file InputNeuron.h.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements gplib::GeneralNeuron.
Definition at line 28 of file InputNeuron.h.
|
inlinevirtual |
Implements gplib::GeneralNeuron.
Definition at line 58 of file InputNeuron.h.