Neural networks
Neural networks are designed to recognize patterns. They are modeled after the human brain; more specifically, we speak about neurons of the brain and their artificial counterparts – artificial neurons. A neuron in the human brain is illustrated in the following diagram:
Figure 16.9 – A neuron in the human brain
A neuron communicates with other neurons via synapses. The basic functionality of a neuron is processing a portion of data and producing signals based on that data. In programming terms, a neuron takes a set of inputs and produces an output.
That’s why the following diagram makes it clear why an artificial neuron is similar to the human brain’s neuron structure:
Figure 16.10 – The human brain’s neuron structure
ANNs consist of interconnected artificial neurons or nodes organized in layers, and they are primarily used for ML and pattern recognition tasks....