crowdkit.aggregation.classification.wawa.Wawa
| Source code
Wawa(self)
Worker Agreement with Aggregate.
This algorithm does three steps:
Parameters | Type | Description |
---|---|---|
labels_ | Optional[Series] | Tasks' labels. A pandas.Series indexed by |
skills_ | Optional[Series] | workers' skills. A pandas.Series index by workers and holding corresponding worker's skill |
probas_ | Optional[DataFrame] | Tasks' label probability distributions. A pandas.DataFrame indexed by |
Examples:
from crowdkit.aggregation import Wawafrom crowdkit.datasets import load_datasetdf, gt = load_dataset('relevance-2')result = Wawa().fit_predict(df)
Method | Description |
---|---|
fit | Fit the model. |
fit_predict | Fit the model and return aggregated results. |
fit_predict_proba | Fit the model and return probability distributions on labels for each task. |
predict | Infer the true labels when the model is fitted. |
predict_proba | Return probability distributions on labels for each task when the model is fitted. |