fit

crowdkit.aggregation.embeddings.rasa.RASA.fit | Source code

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

Fit the model.

Parameters Description

Parameters Type Description
data DataFrame

Workers' outputs with their embeddings. A pandas.DataFrame containing task, worker, output and embedding columns.

true_embeddings Optional[Series]

Tasks' embeddings. A pandas.Series indexed by task and holding corresponding embeddings.

  • Returns:

    self.

  • Return type:

    RASA