Extend arithmetic operator support for accumulators
Open
- Dominant language
- C++
- Stars
- 334
- Forks
- 76
- PR merge metrics
- No merged PRs in 30d
Description
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
- [x] weighted_sum
- [ ] mean
- [ ] weighted_mean
How to implement division and multiplication for weighted mean is mathematically not clear to me.
Contributor guide
Assessment
This issue has not been assessed yet.