Guest User

Untitled

a guest
May 23rd, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. ind = np.random.randint(input_matrix.shape[0], size=(5000,))
  2. rest = np.array([i for i in range(0,input_matrix.shape[0]) if i not in ind])
  3. rest = np.array(rest)
Add Comment
Please, Sign In to add comment