Mix-Concat [Obj,String]

Description

Similar to the block Mix, but combines [OBJ,STRING] tuples from several inputs into a single output. It mathes the OBJ column across all inputs, and concatenates the corresponding STRING columns. With the parameters several merging/aggregation-techniques can be selected.

Warning: the order in which the strings are concatenated is not guaranteed.

Input

  • MIXLIST [OBJ,STRING]: one or more inputs that should be combined

Output

  • RESULT [OBJ,STRING]: the combined output of all inputs

Parameters

  • Separator: string to use as a separator between the concatenated strings (Default is a space)

  • Score combination

    • Disjunctive: objects must occur in at least 1 input (default)

    • Conjunctive: objects must occur in all inputs

  • Score aggregation: defines how the output scores are calculated (when an instance occurs in multiple inputs)

    • SUM: sums the weights of the individual inputs. Use SUM if the signals are completely independent (default)

    • MAX: selects the highest weight of the object. Often used in combination with Conjunctive.

    • MIN: selects the lowest weight of the object

    • PROD: multiplies of the individual inputs. Often used in combination with Conjunctive.

    • AVG: selects the average weight of the object (only over inputs that contain the input)

    • DISTINCT: aggregates evidence (formula: 1 - prod(1 - p))

    • ALL: don’t aggregate, and output all tuples from all inputs as is