ANNs and DL
Inspired by the structure of the human brain, NNs are among the most commonly used models in machine learning (ML). The basic building blocks of these networks are nodes, or neurons, which are based on the biological neuron cell, as depicted in the following diagram:
Figure 9.1: Biological neuron model
Source: https://simple.wikipedia.org/wiki/Neuron#/media/File:Neuron.svg by Dhp1080
The neuron cell’s dendrites, which surround the cell body on the left-hand side of the preceding diagram, are used as inputs from multiple similar cells, while the long axon, coming out of the cell body, serves as output and can be connected to multiple other cells via its terminals.
This structure is mimicked by an artificial model called a perceptron, illustrated as follows:
Figure 9.2: Artificial neuron model – the perceptron
The perceptron calculates the output by multiplying each of the input values by a certain...