fit

crowdkit.aggregation.classification.gold_majority_vote.GoldMajorityVote.fit | Source code

fit(
    self,
    data: DataFrame,
    true_labels: Series
)

Estimate the workers' skills.

Parameters Description

Parameters Type Description
data DataFrame

Workers' labeling results. A pandas.DataFrame containing task, worker and label columns.

true_labels Series

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