Skip to content

Extend arithmetic operator support for accumulators #352

@HDembinski

Description

@HDembinski

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions