Toloka documentation


crowdkit.aggregation.pairwise.bradley_terry.BradleyTerry.fit_predict | Source code

fit_predict(self, data: DataFrame)

Parameters Description

Parameters Type Description
data DataFrame

Workers' pairwise comparison results. A pandas.DataFrame containing worker, left, right, and label columns'. For each row label must be equal to either left column or right column.

  • Returns:

    'Labels' scores. A pandas.Series index by labels and holding corresponding label's scores

  • Return type: