33 : weight(_w), to_layer(_l), to_neuron(_n)
42 steep(1.0), delta_ok(false), bias(_b)
std::vector< Connection > conns
Synaptic connections.
Synaptic connection between two neurons.
Sigmoid symmetric activation function.
void set_activation(ActFuncType type, double s=1)
Sets the neuron activation function.
Neuron(bool _b=false)
Constructor.
double steep
Activation function steepness.
void connect(unsigned to_layer, unsigned to_neuron)
Adds a connection to a neuron.
ActFuncType act_func
Used activation function.
ActFuncType
Activation functions built-in in the library.