Toloka documentation


crowdkit.aggregation.texts.text_summarization.TextSummarization.fit_predict | Source code

fit_predict(self, data: DataFrame)

Run the aggregation 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: