Skip to content
Back to skills

Reference

ASecurity

`crowdkit.aggregation.classification.zero_based_skill.ZeroBasedSkill` | [Source code](https://github.com/Toloka/crowd-kit/blob/v1.2.1/crowdkit/aggregation/classification/zero_based_skill.py#L14) ```python ZeroBasedSkill( self, n_iter: int = 100, lr_init: float = 1.0, lr_steps_to_reduce: int = 20, lr_reduce_factor: float = 0.5, eps: float = 1e-05 ) ``` The **Zero-Based Skill** (ZBS) aggregation model performs weighted majority voting on tasks. After processing a pool of tasks, it re-estimates ...

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 5, 2026
datapythongit

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned June 5, 2026

npx -y skills add Toloka/docs --skill reference --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Reference?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Reference
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/toloka-reference/badge)](https://www.skillsdirectory.com/skills/toloka-reference)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# ZeroBasedSkill
`crowdkit.aggregation.classification.zero_based_skill.ZeroBasedSkill` | [Source code](https://github.com/Toloka/crowd-kit/blob/v1.2.1/crowdkit/aggregation/classification/zero_based_skill.py#L14)

```python
ZeroBasedSkill(
    self,
    n_iter: int = 100,
    lr_init: float = 1.0,
    lr_steps_to_reduce: int = 20,
    lr_reduce_factor: float = 0.5,
    eps: float = 1e-05
)
```

The **Zero-Based Skill** (ZBS) aggregation model performs weighted majority voting on tasks. After processing a pool of tasks,


it re-estimates the workers' skills with a gradient descend step to optimize
the mean squared error of the current skills and the fraction of responses that
are equal to the aggregated labels.

This process is repeated until the labels change or exceed the number of iterations.

{% note info %}

It is necessary that all workers in the dataset that is sent to `predict` exist in responses to
the dataset that was sent to `fit`.

{% endnote %}

## Parameters Description

| Parameters | Type | Description |
| :----------| :----| :-----------|
`n_iter`|**int**|<p>The maximum number of iterations.</p>
`lr_init`|**float**|<p>The initial learning rate.</p>
`lr_steps_to_reduce`|**int**|<p>The number of steps required to reduce the learning rate.</p>
`lr_reduce_factor`|**float**|<p>The factor by which the learning rate will be multiplied every `lr_steps_to_reduce` step.</p>
`eps`|**float**|<p>The convergence threshold.</p>
`skills_`|**Optional\[Series\]**|<p>The workers&#x27; skills. The `pandas.Series` data is indexed by `worker` and has the corresponding worker skill.</p>
`labels_`|**Optional\[Series\]**|<p>The task labels. The `pandas.Series` data is indexed by `task` so that `labels.loc[task]` is the most likely true label of tasks.</p>
`probas_`|**Optional\[DataFrame\]**|<p>The probability distributions of task labels. The `pandas.DataFrame` data is indexed by `task` so that `result.loc[task, label]` is the probability that the `task` true label is equal to `label`. Each probability is in the range from 0 to 1, all task probabilities must sum up to 1.</p>

**Examples:**


```python
from crowdkit.aggregation import ZeroBasedSkill
from crowdkit.datasets import load_dataset
df, gt = load_dataset('relevance-2')
result = ZeroBasedSkill().fit_predict(df)
```
## Methods Summary

| Method | Description |
| :------| :-----------|
[fit](crowdkit.aggregation.classification.zero_based_skill.ZeroBasedSkill.fit.md)| Fits the model to the training data.
[fit_predict](crowdkit.aggregation.classification.zero_based_skill.ZeroBasedSkill.fit_predict.md)| Fits the model to the training data and returns the aggregated results.
[fit_predict_proba](crowdkit.aggregation.classification.zero_based_skill.ZeroBasedSkill.fit_predict_proba.md)| Fits the model to the training data and returns the aggregated results.
[predict](crowdkit.aggregation.classification.zero_based_skill.ZeroBasedSkill.predict.md)| Predicts the true labels of tasks when the model is fitted.
[predict_proba](crowdkit.aggregation.classification.zero_based_skill.ZeroBasedSkill.predict_proba.md)| Returns probability distributions of labels for each task when the model is fitted.

Files in this skill

  • crowdkit.aggregation.base.BaseClassificationAggregator.fit.md582 B
  • crowdkit.aggregation.base.BaseClassificationAggregator.fit_predict.md634 B
  • crowdkit.aggregation.base.BaseClassificationAggregator.md805 B
  • crowdkit.aggregation.base.BaseEmbeddingsAggregator.fit.md597 B
  • crowdkit.aggregation.base.BaseEmbeddingsAggregator.fit_predict.md651 B
  • crowdkit.aggregation.base.BaseEmbeddingsAggregator.md773 B
  • crowdkit.aggregation.base.BaseImageSegmentationAggregator.fit.md601 B
  • crowdkit.aggregation.base.BaseImageSegmentationAggregator.fit_predict.md655 B
  • crowdkit.aggregation.base.BaseImageSegmentationAggregator.md827 B
  • crowdkit.aggregation.base.BasePairwiseAggregator.fit.md670 B
  • crowdkit.aggregation.base.BasePairwiseAggregator.fit_predict.md707 B
  • crowdkit.aggregation.base.BasePairwiseAggregator.md747 B
  • crowdkit.aggregation.base.BaseTextsAggregator.fit.md551 B
  • crowdkit.aggregation.base.BaseTextsAggregator.fit_predict.md607 B
  • crowdkit.aggregation.base.BaseTextsAggregator.md725 B
  • crowdkit.aggregation.classification.dawid_skene.DawidSkene.fit.md703 B
  • crowdkit.aggregation.classification.dawid_skene.DawidSkene.fit_predict.md791 B
  • crowdkit.aggregation.classification.dawid_skene.DawidSkene.fit_predict_proba.md991 B
  • crowdkit.aggregation.classification.dawid_skene.DawidSkene.md4 KB
  • crowdkit.aggregation.classification.dawid_skene.OneCoinDawidSkene.fit.md724 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.