-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
ENH Replaced RandomState.rand with equivalent uniform #22327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@thomasjpfan Follow up to the prior PR |
@jeremiedbb In case you'd be interested in taking a look at this one as well |
For future reference, the open message should say that changing from Also it's good to link to the original issue. (I think it should be #16988) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks @Micky774
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
RandomState.rand
with equivalent Generator-compatible RandomState.uniform
calls
Reference Issues/PRs
A follow-up to #22271
Addresses #16988
What does this implement/fix? Explain your changes.
Replaced
RandomState.rand
with equivalent Generator-compatibleRandomState.uniform
callsAny other comments?
Note that this is a non-functional change -- all behaviour should be maintained. This is a syntax/structural change which prepares for any eventual shift from
RandomState-->Generator
objects. See here for further details.