-
-
Notifications
You must be signed in to change notification settings - Fork 615
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
bench: refactor random number generation in stats/base/dists/negative-binomial
#5193
Conversation
Hello! Thank you for your contribution to stdlib. We noticed that the contributing guidelines acknowledgment is missing from your pull request. Here's what you need to do:
This acknowledgment confirms that you've read the guidelines, which include:
We can't review or accept contributions without this acknowledgment. Thank you for your understanding and cooperation. We look forward to reviewing your contribution! |
Coverage Report
The above coverage report was generated for the changes in this PR. |
Hello! Thank you for your contribution to stdlib. We noticed that the contributing guidelines acknowledgment is missing from your pull request. Here's what you need to do:
This acknowledgment confirms that you've read the guidelines, which include:
We can't review or accept contributions without this acknowledgment. Thank you for your understanding and cooperation. We look forward to reviewing your contribution! |
@anandkaranubc ready for review |
lib/node_modules/@stdlib/stats/base/dists/negative-binomial/cdf/benchmark/benchmark.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/negative-binomial/ctor/benchmark/benchmark.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/negative-binomial/ctor/benchmark/benchmark.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/negative-binomial/ctor/benchmark/benchmark.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/negative-binomial/ctor/benchmark/benchmark.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/negative-binomial/ctor/benchmark/benchmark.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/negative-binomial/logpmf/benchmark/benchmark.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/negative-binomial/mgf/benchmark/benchmark.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/negative-binomial/mgf/benchmark/benchmark.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/negative-binomial/pmf/benchmark/benchmark.js
Outdated
Show resolved
Hide resolved
@gkbishnoi07, I left some comments for you to review. Please ensure that the suggested changes are applied consistently throughout the PR, including areas where they were not explicitly mentioned but are necessary. |
e8ce64a
to
e23cfe3
Compare
@anandkaranubc please review |
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.
Some minor changes. Rest looks good. Great work!
lib/node_modules/@stdlib/stats/base/dists/negative-binomial/logpmf/benchmark/benchmark.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/negative-binomial/mgf/benchmark/benchmark.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/negative-binomial/mgf/benchmark/benchmark.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/stats/base/dists/negative-binomial/pmf/benchmark/benchmark.js
Outdated
Show resolved
Hide resolved
Got it! I'll make the necessary changes. Thanks for the feedback! |
@anandkaranubc All changes have been applied and are ready for review. |
@anandkaranubc please review |
@anandkaranubc any updates |
On it! |
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.
After this change, the PR should be ready to merge.
lib/node_modules/@stdlib/stats/base/dists/negative-binomial/mgf/benchmark/benchmark.js
Outdated
Show resolved
Hide resolved
@anandkaranubc ready for review |
Looks good! Thanks for working on this issue. You can wait for a maintainer to merge this PR. In the meantime, please update your title to: bench: refactor random number generation in Just add the `` around stats/base/dists/negative-binomial |
/stdlib merge |
PR Commit Message
Please review the above commit message and make any necessary adjustments. |
The title is same bench: refactor random number generation in |
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.
Thanks @gkbishnoi07 for your PR and @anandkaranubc for review!
stats/base/dists/negative-binomial
Karan was referring to including backticks around the package path. That's just a convention we have; otherwise PR title was fine. |
Description
What is the purpose of this pull request?
This pull request:
stats/base/dists/negative-binomial
.randu()
withuniform()
for cleaner and more consistent code.Related Issues
Does this pull request have any related issues?
This pull request:
stats/base/dists/negative-binomial
#4980Questions
Any questions for reviewers of this pull request?
No.
Other
Any other information relevant to this pull request?
No.
Checklist
Please ensure the following tasks are completed before submitting this pull request.