generating random numbers with numpy using multiprocessing
I want to generate random numbers in Numpy using Multiprocessing. Using this this answer I wrote the code at the end of this message, and it seems to work. Because answer I linked to is quite old, I want to make sure that it is still correct. Numpy’s official documentation seems to say that np.random.seed
is deprecated, but I can’t seem to find good documentation about the Generator instance it recommends, and it seems more complicated.