fit_predict_score

crowdkit.aggregation.classification.m_msr.MMSR.fit_predict_score | Source code

fit_predict_score(self, data: DataFrame)

Fits the model to the training data and returns the total sum of weights for each label.

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.

  • Returns:

    The task label scores. The pandas.DataFrame data is indexed by task so that result.loc[task, label] is a score of label for task.

  • Return type:

    DataFrame

Last updated: March 31, 2023

Crowd-Kit
Overview
Reference
Aggregation
Datasets
Learning
Metrics
Postprocessing