Toloka documentation

fit_predict

crowdkit.aggregation.texts.rover.ROVER.fit_predict | Source code

fit_predict(self, data: DataFrame)

Fit the model and return the aggregated texts.

Parameters Description

Parameters Type Description
data DataFrame

Workers' text outputs. A pandas.DataFrame containing task, worker and text columns.

  • Returns:

    Tasks' texts. A pandas.Series indexed by task such that result.loc[task, text] is the task's text.

  • Return type:

    Series