Multiannotator
Use this sub-skill when examples can have multiple annotators, you need a consensus label, or you want to prioritize relabeling.
Route here for
- Convert long annotation tables into the wide matrix expected by
cleanlab.multiannotator. - Compute majority-vote or best-quality consensus labels from raw annotations plus a trained classifier's
pred_probs. - Inspect per-example quality, detailed per-annotator scores, annotator stats, and optional crowdlab weights.
- Rank labeled and unlabeled examples for relabeling with ActiveLab scores.
- Use the ensemble variants when you already have stacked predictions from several trained classifiers.
Reroute elsewhere
- Single-annotator noisy-label workflows, model training, or predicted-probability generation: use
../classification/SKILL.md. - If you need the classifier that supplies
pred_probs, stay in the classification route for the model-training side. - Broader dataset auditing, issue managers, or custom Datalab workflows: use
../datalab/SKILL.md. - Standalone outlier/OOD scoring: use
../outlier/SKILL.md. - Multi-label/regression or structured-output label issues: use
../tabular-label-issues/SKILL.mdor../structured-label-issues/SKILL.md. - Explicitly unstable helpers: use
../experimental/SKILL.md.
What to expect
label_qualityincludes consensus label, consensus quality score, annotator agreement, and annotation count.consensus_methodcan be a single method or a list; extra methods add suffixed columns such asconsensus_label_best_quality.detailed_label_qualityusesquality_annotator_<annotator id>columns.annotator_statsreports annotator quality, agreement with consensus, worst class, and labeled-example counts.return_weights=Trueonly works withquality_method="crowdlab"for the single-model API.get_majority_vote_label,get_label_quality_multiannotator, and the active-learning helpers all accept DataFrame or ndarray inputs withNaN/pd.NAfor missing labels.
Read/run next
- Read
references/api-reference.mdwhen you need exact function signatures, return keys, and output table columns. - Read
references/workflows.mdwhen converting long annotation tables, computing consensus labels, or ranking relabeling candidates. - Read
references/troubleshooting.mdwhen annotation matrices, missing values, consensus methods, weights, or active-learning scores fail. - Run
scripts/smoke_multiannotator.pyto verify a tiny long-to-wide, consensus, annotator-stats, and active-learning path.
