# Neural network primitives

The neural network primitives demonstrate logic functions using classical artificial neurons and McCulloch-Pitts neuron.

MPNeuron
This is a McCulloch-Pitts neuron. The activation of this neuron is binary. That is, at any time-step, the neuron either fires, or does not fire.
Neuron
This neuron will output the sum of the weighted inputs, as a floating value.
Binary
Binary threshold of the input.
Sigmoid
Compute the Sigmoid function, defined as

where r is the learning_rate.