get_accuracy
crowdkit.aggregation.utils.get_accuracy
| Source code
get_accuracy(
data: DataFrame,
true_labels: Series,
by: Optional[str] = None
)
Parameters Description
Parameters | Type | Description |
---|---|---|
data |
DataFrame | Workers' labeling results. A pandas.DataFrame containing |
true_labels |
Series | Tasks' ground truth labels. A pandas.Series indexed by |
-
Returns:
workers' skills. A pandas.Series index by workers and holding corresponding worker's skill
-
Return type:
Series