-
Notifications
You must be signed in to change notification settings - Fork 54
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
add random_sample and aliases #664
Conversation
Codecov Report
@@ Coverage Diff @@
## master #664 +/- ##
=======================================
Coverage 97.37% 97.37%
=======================================
Files 85 85
Lines 16646 16676 +30
=======================================
+ Hits 16209 16239 +30
Misses 437 437
Continue to review full report at Codecov.
|
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.
looks good to me. only very minor changes before its ready
heat/core/random.py
Outdated
|
||
|
||
# aliases | ||
random_sample = ranf = sample = random |
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.
where is randf
from? i cant find that name in other packages
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.
I found ranf
as an alias in numpy.
Description
adding random functions and aliases
Issue/s resolved: #553
Changes proposed:
Type of change
New Feature
Due Diligence
Does this change modify the behaviour of other functions? If so, which?
no