fit

crowdkit.aggregation.embeddings.hrrasa.HRRASA.fit | Source code

fit(
self,
data: DataFrame,
true_embeddings: Optional[Series] = None
)

Fits the model to the training data.

Parameters description

ParametersTypeDescription
dataDataFrame

The workers' outputs with their embeddings. The pandas.DataFrame data contains the task, worker, output, and embedding columns.

true_embeddingsOptional[Series]

The embeddings of the true task responses. The pandas.Series data is indexed by task and contains the corresponding embeddings. The multiple true embeddings are not supported for a single task.

  • Returns:

    self.

  • Return type:

    HRRASA

Last updated: March 31, 2023

Crowd-Kit
Overview
Reference
Aggregation
Datasets
Learning
Metrics
Postprocessing