fit

crowdkit.aggregation.texts.text_rasa.TextRASA.fit | Source code

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

Fit the model.

Parameters description

ParametersTypeDescription
dataDataFrame

Workers' outputs. A pandas.DataFrame containing task, worker and output columns.

true_objectsOptional[Series]

Tasks' ground truth labels. A pandas.Series indexed by task such that labels.loc[task] is the tasks's ground truth label.

Last updated: March 31, 2023

Crowd-Kit
Overview
Reference
Aggregation
Datasets
Learning
Metrics
Postprocessing