SuperNN
1.0.0
|
Synaptic connection between two neurons. More...
Public Member Functions | |
Connection () | |
Connection (unsigned _l, unsigned _n, double _w=(Utils::rand_double(0.5)-0.25)) | |
Constructor. More... | |
virtual | ~Connection () |
Public Attributes | |
double | aux1 |
Auxiliary storage 1, used by some training algorithms. More... | |
double | aux2 |
Auxiliary storage 2, used by some training algorithms. More... | |
double | derror |
Accumulated partial error derivative in respect to the connection weight. More... | |
unsigned | to_layer |
Layer where the target neuron is located. More... | |
unsigned | to_neuron |
Position of the target neuron in it's layer. More... | |
double | weight |
Weight. More... | |
Synaptic connection between two neurons.
Definition at line 32 of file neuron.hpp.
SuperNN::Connection::Connection | ( | ) |
Definition at line 24 of file neuron.cpp.
|
virtual |
Definition at line 28 of file neuron.cpp.
SuperNN::Connection::Connection | ( | unsigned | _l, |
unsigned | _n, | ||
double | _w = (Utils::rand_double(0.5) - 0.25) |
||
) |
Constructor.
_l | Layer where the target neuron is located |
_n | Position of the target neuron in it's layer |
_w | Connection weight |
Definition at line 32 of file neuron.cpp.
double SuperNN::Connection::aux1 |
Auxiliary storage 1, used by some training algorithms.
Definition at line 55 of file neuron.hpp.
double SuperNN::Connection::aux2 |
Auxiliary storage 2, used by some training algorithms.
Definition at line 58 of file neuron.hpp.
double SuperNN::Connection::derror |
Accumulated partial error derivative in respect to the connection weight.
Definition at line 52 of file neuron.hpp.
unsigned SuperNN::Connection::to_layer |
Layer where the target neuron is located.
Definition at line 61 of file neuron.hpp.
unsigned SuperNN::Connection::to_neuron |
Position of the target neuron in it's layer.
Definition at line 64 of file neuron.hpp.
double SuperNN::Connection::weight |
Weight.
Definition at line 49 of file neuron.hpp.