neurx v0.1.2 Neurx.Neuron View Source
A neuron makes up a network. It’s purpose is to sum its inputs and compute an output. During training the neurons adjust weights of its outgoing connections to other neurons.
Link to this section Summary
Functions
Activate a neuron. Set the input value and compute the output Input neuron: output will always equal their input value Bias neuron: output is always 1. Other neurons: will squash their input value to compute output
Returns a specification to start this module under a supervisor
Connect two neurons
Lookup and return a neuron
Server Callback for GenServer - call
Server Callback for GenServer - cast
Server Callback for GenServer - init
Create a neuron agent
Backprop using the delta. Set the neuron’s delta value
Pass in the pid, and a map to update values of a neuron
Link to this section Functions
Activate a neuron. Set the input value and compute the output Input neuron: output will always equal their input value Bias neuron: output is always 1. Other neurons: will squash their input value to compute output
Returns a specification to start this module under a supervisor.
See Supervisor
.
Connect two neurons
Lookup and return a neuron
Server Callback for GenServer - call
Server Callback for GenServer - cast
Server Callback for GenServer - init
Create a neuron agent
Backprop using the delta. Set the neuron’s delta value.
Pass in the pid, and a map to update values of a neuron