Skip to content

feat: add stats/incr/nanewmean - #6012

Merged
Planeshifter merged 8 commits into
stdlib-js:developfrom
abhishekblue:feat/incr-nanewmean
Jul 21, 2026
Merged

Planeshifter merged 8 commits into
stdlib-js:developfrom
abhishekblue:feat/incr-nanewmean

Conversation

@abhishekblue

@abhishekblue abhishekblue commented Mar 13, 2025 •

Copy link
Copy Markdown
Contributor

Resolves #5556

Description

What is the purpose of this pull request?

This pull request:

  • introduces the @stdlib/stats/incr/nanewmean package, which incrementally computes an exponentially weighted mean, ignoring NaN values.

Related Issues

Does this pull request have any related issues?

This pull request:

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.


@stdlib-js/reviewers

@stdlib-bot stdlib-bot added Statistics Issue or pull request related to statistical functionality. Good First PR A pull request resolving a Good First Issue. labels Mar 13, 2025
@stdlib-bot

stdlib-bot commented Mar 13, 2025 •

Copy link
Copy Markdown
Contributor

Coverage Report

Package Statements Branches Functions Lines
stats/incr/nanewmean $\\color{green}131/131$
$\\color{green}+0.00\\%$
$\\color{green}7/7$
$\\color{green}+0.00\\%$
$\\color{green}2/2$
$\\color{green}+0.00\\%$
$\\color{green}131/131$
$\\color{green}+0.00\\%$

The above coverage report was generated for the changes in this PR.

@abhishekblue
abhishekblue marked this pull request as ready for review March 13, 2025 09:48
@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label Mar 13, 2025

@hrshya hrshya left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to import isnan from @stdlib/math/base/assert/is-nan and replace isNaN with isnan in main.js and other files.

@abhishekblue

Copy link
Copy Markdown
Contributor Author

@hrshya Thank you for pointing out.

@abhishekblue abhishekblue changed the title feat: add stats/incr/nanewmean feat: add stats/incr/nanewmean Mar 15, 2025
@Planeshifter Planeshifter added Needs Changes Pull request which needs changes before being merged. and removed Needs Review A pull request which needs code review. labels Mar 10, 2026
@Planeshifter
Planeshifter requested a review from a team July 20, 2026 20:26
@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label Jul 20, 2026
@Planeshifter

Copy link
Copy Markdown
Member

/stdlib merge

@stdlib-bot stdlib-bot added the bot: In Progress Pull request is currently awaiting automation. label Jul 20, 2026
@Planeshifter

Copy link
Copy Markdown
Member

/stdlib update-copyright-years

@stdlib-bot stdlib-bot added bot: In Progress Pull request is currently awaiting automation. and removed bot: In Progress Pull request is currently awaiting automation. labels Jul 20, 2026

@Planeshifter Planeshifter left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be good to go.

@stdlib-bot

Copy link
Copy Markdown
Contributor

PR Commit Message

feat: add `stats/incr/nanewmean`

PR-URL: https://github.com/stdlib-js/stdlib/pull/6012
Closes: https://github.com/stdlib-js/stdlib/issues/5556

Co-authored-by: Philipp Burckhardt <pburckhardt@outlook.com>
Co-authored-by: stdlib-bot <noreply@stdlib.io>
Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com>

Please review the above commit message and make any necessary adjustments.

@stdlib-bot stdlib-bot removed Needs Review A pull request which needs code review. Needs Changes Pull request which needs changes before being merged. labels Jul 20, 2026
@Planeshifter
Planeshifter merged commit 1356c75 into stdlib-js:develop Jul 21, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Good First PR A pull request resolving a Good First Issue. Statistics Issue or pull request related to statistical functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RFC]: add stats/incr/nanewmean

4 participants