fit_predict
crowdkit.aggregation.classification.gold_majority_vote.GoldMajorityVote.fit_predict
| Source code
fit_predict(
self,
data: DataFrame,
true_labels: Series
)
Fit the model and return aggregated results.
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:
Tasks' labels. A pandas.Series indexed by
task
such thatlabels.loc[task]
is the tasks's most likely true label. -
Return type:
Series