crowdkit.aggregation.texts.text_rasa.TextRASA.fit_predict_scores
| Source code
fit_predict_scores( self, data: DataFrame, true_objects: Optional[Series] = None)
Fit the model and return scores.
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' label scores.
A pandas.DataFrame indexed by task
such that result.loc[task, label]
is the score of label
for task
.
Return type:
DataFrame