fit_predict_scores

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 Description

ParametersTypeDescription
dataDataFrame

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

true_objectsOptional[Series]

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

  • 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

Crowd-Kit
Overview
Reference
Aggregation
Datasets
Learning
Metrics
Postprocessing