I have two python np.arrays called data and labels. I want to randomly reduced their size. In order to do so, I am doing the following:
np.random.seed(0)
ind = np.random.randint(len(data), size=(50000,))
reduced_data = data[ind, :]
reduced_labels = labels[ind]
I randomly pick 50000 from both labels and data. How can I store the rest of the data, so have can i find the rest indexes from the initial arrays?