Skip to content
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

Extend arithmetic operator support for accumulators #352

Open
1 of 15 tasks
HDembinski opened this issue Feb 8, 2022 · 0 comments
Open
1 of 15 tasks

Extend arithmetic operator support for accumulators #352

HDembinski opened this issue Feb 8, 2022 · 0 comments

Comments

@HDembinski
Copy link
Collaborator

HDembinski commented Feb 8, 2022

All accumulators support addition and scaling (multiplication by a constant). Additionally, we could support subtraction, multiplication, and division.

Subtraction

  • count
  • sum
  • weighted_sum
  • mean
  • weighted_mean

Multiplication

  • count
  • sum
  • weighted_sum
  • mean
  • weighted_mean

Division

  • count
  • sum
  • weighted_sum
  • mean
  • weighted_mean

How to implement division and multiplication for weighted mean is mathematically not clear to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant