-
-
Notifications
You must be signed in to change notification settings - Fork 958
feat: add incrnanmmeanvar (moving mean/variance with NaN skipping) (fixes #5592) #8502
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
base: develop
Are you sure you want to change the base?
Conversation
|
👋 Hi there! 👋 And thank you for opening your first pull request! We will review it shortly. 🏃 💨 Getting Started
Next Steps
Running Tests LocallyYou can use # Run tests for all packages in the math namespace:
make test TESTS_FILTER=".*/@stdlib/math/.*"
# Run benchmarks for a specific package:
make benchmark BENCHMARKS_FILTER=".*/@stdlib/math/base/special/sin/.*"If you haven't heard back from us within two weeks, please ping us by tagging the "reviewers" team in a comment on this PR. If you have any further questions while waiting for a response, please join our Gitter channel to chat with project maintainers and other community members. We appreciate your contribution! Documentation Links |
Coverage Report
The above coverage report was generated for the changes in this PR. |
|
/stdlib update-copyright-years |
|
|
||
| // EXPORTS // | ||
|
|
||
| module.exports = incrnanmmeanvar; No newline at end of file |
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.
| module.exports = incrnanmmeanvar; | |
| module.exports = incrnanmmeanvar; |
This file is missing a trailing newline.
Resolves #5592.
Description
This pull request:
Adds a new incremental moving mean and variance accumulator: @stdlib/stats/incr/nanmmeanvar.
This module behaves similarly to @stdlib/stats/incr/mmeanvar, but skips NaN values instead of propagating them.
Includes implementation, tests, documentation, TypeScript definitions, REPL help file, benchmarks, and examples.
Related Issues
This pull request has the following related issues:
stats/incr/nanmmeanvar#5592Questions
No.
Other
No additional information.
Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
I used ChatGPT to assist in understanding spec expectations and drafting documentation wording.
The implementation and test logic were written and verified manually.
@stdlib-js/reviewers