Cartesian Product

Description

Give A and B in input, this outputs pairs with all combinations A x B.

Caution: The output's size is |A| * |B|. This can be very large. See parameters Take Top N from A / B.

Input

  • A [OBJ]: a list of objects
  • B [OBJ]: a list of objects

Output

  • AB [OBJ,OBJ]: tuples (A,B)

Parameters

  • Take Top N from A: Use only the Top N objects from A. Use 0 for no limit (Default: 0).
  • Take Top N from B: Use only the Top N objects from B. Use 0 for no limit (Default: 10).

Output scores can be aggregated and/or normalized.