fit

crowdkit.aggregation.texts.text_rasa.TextRASA.fit | Source code

fit(
    self,
    data: DataFrame,
    true_objects: Optional[Series] = None
)

Fit the model.

Parameters Description

Parameters Type Description
data DataFrame

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

true_objects Optional[Series]

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