Taking into account greater number of neurons and vectros recognised by network the threshold value ought to equals the largest value computed for considered neuron. Naturally the greatest values are obtained for "the most similar" vectors. The angle between such vectors has the smallest value. Example. Vectors: A = [0; 1], B = [0,707; 0,707] and C = [0; -1], Fig. 5.


Fig. 5.

For each pair of vectors:
for vector A:

thAB = 0,854
thAC = 0
thus thA = 0,854
for vector B:
thBA = 0,854
thBC = 0.146
thus thB = 0,854
for vector C:
thCA = 0
thCB = 0,146
thus thC = 0,146