fit

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

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

Fits the model to the training data.

Parameters description

ParametersTypeDescription
dataDataFrame

The training dataset of workers' labeling results which is represented as the pandas.DataFrame data containing task, worker, and label columns.

true_labelsSeries

The ground truth labels of tasks. The pandas.Series data is indexed by task so that labels.loc[task] is the task ground truth label.

Last updated: March 31, 2023

Crowd-Kit
Overview
Reference
Aggregation
Datasets
Learning
Metrics
Postprocessing