fit_predict

crowdkit.aggregation.classification.majority_vote.MajorityVote.fit_predict | Source code

fit_predict(
self,
data: DataFrame,
skills: Optional[Series] = None
)

Fit the model and return aggregated results.

Parameters Description

ParametersTypeDescription
dataDataFrame

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

skillsOptional[Series]

workers' skills. A pandas.Series index by workers and holding corresponding worker's skill

  • Returns:

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

  • Return type:

    Series

Crowd-Kit
Overview
Reference
Aggregation
Datasets
Learning
Metrics
Postprocessing