Reduce MNIST dataset

I am working on the MNIST dataset. How I can reduce 50% of this data?

(x_train, y_train), (x_test, y_test) = keras.datasets.mnist.load_data()

Topic mnist jupyter metadata python machine-learning

Category Data Science

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.