A siamese neural network that can learn to discriminate like/unlike image pairs