You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
because the documentation says "[RandomState] should only be used if it is essential to have randoms that are identical to what would have been produced by previous versions of NumPy.".
The text was updated successfully, but these errors were encountered:
Similarly, the documentation for numpy.random.uniform says random.Generator.uniform "should be used for new code". And a similar thing for the documentation for numpy.random.randint, numpy.random.normal and numpy.random.choice.
@rougier I assume you don't want me to open an issue and PR for every exercise we could change (since there'd be dozens of issues and dozens of PRs), so I'm happy to make all the changes in one PR.
One PR per issue is better actually and in this case, I prefer to keep the code identical to "what would have been produced by previous versions of NumPy" because it is important for reproducibility. You could make a PR and keeping both the "deprecated" version and the now recommended one.
I think
would be better than
numpy-100/100_Numpy_exercises_with_hints_with_solutions.md
Line 96 in 916e1ec
because the documentation says "[RandomState] should only be used if it is essential to have randoms that are identical to what would have been produced by previous versions of NumPy.".
The text was updated successfully, but these errors were encountered: