set_pairs_weight

Set weights for each pair of objects.

Method call format

set_pairs_weight(pairs_weight)

Parameters

ParameterPossible typesDescriptionDefault value
pairs_weight
  • list
  • numpy.ndarray
  • pandas.DataFrame
  • pandas.Series

The weight of each input pair of objects in the form of one-dimensional array-like pairs.

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

Only non-negative values are supported.

Required parameter