fit_predict

crowdkit.aggregation.base.BaseClassificationAggregator.fit_predict | Source code

fit_predict(self, data: DataFrame)

Parameters description

ParametersTypeDescription
dataDataFrame

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

  • 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

Last updated: March 31, 2023

Crowd-Kit
Overview
Reference
Aggregation
Datasets
Learning
Metrics
Postprocessing