fit
crowdkit.aggregation.classification.majority_vote.MajorityVote.fit
| Source code
fit(
self,
data: DataFrame,
skills: Optional[Series] = None
)
Fit the model.
Parameters Description
Parameters | Type | Description |
---|---|---|
data |
DataFrame | Workers' labeling results. A pandas.DataFrame containing |
skills |
Optional[Series] | workers' skills. A pandas.Series index by workers and holding corresponding worker's skill |
-
Returns:
self.
-
Return type: