A siamese neural network can learn to discriminate between like/unlike pairs of images