Randomized MNIST binarization