def mnist():
    # TODO: add y (labels)
    # pylint: disable=no-member
    digits = skdatasets.fetch_mldata('MNIST original', data_home='~/.sk_data')
    ds_size = digits.data.shape[0]
    X = digits.data[np.random.randint(0, ds_size, 10000)].astype('float32')
    X /= 256.
    return X, None
MNIST dataset. Currently includes only X
dataset/ETHPy150Open dfdx/masque/masque/datasets.py/mnist