Toloka documentation


crowdkit.aggregation.classification.m_msr.MMSR.fit_predict_score | Source code

fit_predict_score(self, data: DataFrame)

Fit the model and return the total sum of weights for each label.

Parameters Description

Parameters Type Description
data DataFrame

Workers' labeling results. A pandas.DataFrame containing task, worker and label columns.

  • Returns:

    Tasks' label scores. A pandas.DataFrame indexed by task such that result.loc[task, label] is the score of label for task.

  • Return type: