Aggregate Integers

Description

Group on the first column and aggregate the values of the second column of a [OBJ,INTEGER] input.

Input

  • SOURCE [OBJ,INTEGER]: a 2-column input with an object-integer pair.

Output

  • RESULT [OBJ,INTEGER]: unique objects from the first column, and aggregates values from the second column

Parameters

  • Value aggregation: the type of aggregation to apply to the values in the same group (SUM,AVG,COUNT,MAX,MIN)

Output scores can be aggregated and/or normalized.