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