crowdkit.aggregation.embeddings.closest_to_average.ClosestToAverage.fit
| Source code
fit( self, data: DataFrame, aggregated_embeddings: Optional[Series] = None, true_embeddings: Optional[Series] = None)
Fits the model to the training data.
Parameters | Type | Description |
---|---|---|
data | DataFrame | The workers' outputs with their embeddings. The |
aggregated_embeddings | Optional[Series] | The task aggregated embeddings. The |
true_embeddings | Optional[Series] | The embeddings of the true task responses. The |
Returns:
self.
Return type: