set_pairs_weight
Set weights for each pair of objects.
Method call format
set_pairs_weight(pairs_weight)
Parameters
pairs_weight
Description
The weight of each input pair of objects in the form of one-dimensional array-like pairs. The number of given values must match the number of specified pairs.
This information is used for calculation and optimization of Pairwise metrics.
Only non-negative values are supported.
Possible types
- list
- numpy.ndarray
- pandas.DataFrame
- pandas.Series
Default value
Required parameter