Guest User

Untitled

a guest
May 26th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. import numpy as np
  2. resampled_indices = np.random.choice(a = 1000, size = 1000, replace = True, p = weights)
Add Comment
Please, Sign In to add comment