fit_predict
crowdkit.aggregation.texts.text_hrrasa.TextHRRASA.fit_predict
| Source code
fit_predict(
self,
data: DataFrame,
true_objects: Optional[Series] = None
)
Fit the model and return aggregated texts.
Parameters Description
Parameters | Type | Description |
---|---|---|
data |
DataFrame | Workers' outputs. A pandas.DataFrame containing |
true_objects |
Optional[Series] | Tasks' ground truth labels. A pandas.Series indexed by |
-
Returns:
Tasks' texts. A pandas.Series indexed by
task
such thatresult.loc[task, text]
is the task's text. -
Return type:
Series