The training process starts with randomly set weights that are gradually updated by the minimization algorithm of squared difference between the target value and the computed output value on the output of each ANN neuron.