On the training patterns of a neural network for target localization in the spatial domain