Toloka documentation


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

fit_predict(self, data: DataFrame)

Fit the model and return aggregated results.

Parameters Description

Parameters Type Description
data DataFrame

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

  • Returns:

    Tasks' labels. A pandas.Series indexed by task such that labels.loc[task] is the tasks's most likely true label.

  • Return type: