What is a neural network and how does it learn?
As we said previously, a neural network is a set of layers connected to each other. Each layer contains a set of nodes and each node has an associated weight. Neural network learning consists of simply modifying these weights in a suitable way so that the model makes good predictions. In the following diagram, we can see a simple two-layer network:
Each circle in the previous diagram is an artificial neuron, which is nothing more than a mathematical function inspired by the functioning of a biological neuron. These artificial neurons are the basic units in an artificial neural network and their operation consists of receiving one or more inputs (numerical values) and multiplying them by a factor or weight, and then adding the results to generate the output value.
These models are simple but really powerful because from a set of data...