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