crowdkit.aggregation.embeddings.rasa.RASA.fit_predict_scores
| Source code
fit_predict_scores( self, data: DataFrame, true_embeddings: Optional[Series] = None)
Fits the model to the training data and returns the estimated scores.
Parameters | Type | Description |
---|---|---|
data | DataFrame | The workers' outputs with their embeddings. The |
true_embeddings | Optional[Series] | The embeddings of the true task responses. The |
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