# set_pairs

Set the list of pairs for Pairwise metrics.

## Method call format

set_pairs(pairs)


## Parameters

### pairs

#### Description

The pairs description in the form of a two-dimensional matrix of shape N by 2:

• N is the number of pairs.
• Each pair is represented as a row in the matrix:
• The first element in the row (pair[0]) contains the zero-based index of the winner object.
• The second element in the row (pair[1]) contains the zero-based index of the loser object.

This information is used for optimization and calculation of Pairwise metrics.

Possible types

• list
• numpy.ndarray
• pandas.DataFrame

Default value

Required parameter