Sorting my notes about artificial neural networks
A nice and practical introduction to Artificial Neural Networks (ANN) can be found in Andrej Karpathy’s blog (1)
The equation representing a single neuron is
where:
input
weight
and the bias
of the neuronactivation
functionouptut
Neural Net peoples enjoy representing their toys with block diagrams. A neuron can be described by the following diagram:
A whole range of activation functions are commonly used. The following plot ( created with this code ) illustrate those available in keras.
By varying the weight and bias of a neuron, one is able to change the shape of the input/output function of the neuron, as shown in figure (XXX) ( created with this code )
Neurons are commonly organized in layers such as illustrated in figure (XXX). The equation can be matricially summarized as:
Input and ouput can be multi dimensional (tensors)
Layers can be stacked into a network