Skip to content

524 add ma template+update notebook - #526

Merged
tpham93 merged 21 commits into
release-1-0-0from
524-add-ma-template+update-notebook
Nov 10, 2025
Merged

tpham93 merged 21 commits into
release-1-0-0from
524-add-ma-template+update-notebook

Conversation

@LukasLuehrs

@LukasLuehrs LukasLuehrs commented Nov 4, 2025 •

Copy link
Copy Markdown
Collaborator

Closes 524

Adds a template for multi annotator strategies

So far two examples are created for the wrapper.
Further Regression and Multi-Annotator now have different sections in the documentation

@codecov

codecov Bot commented Nov 5, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (0730415) to head (c0ded6e).
⚠️ Report is 22 commits behind head on release-1-0-0.

Additional details and impacted files
@@               Coverage Diff               @@
##           release-1-0-0      #526   +/-   ##
===============================================
  Coverage         100.00%   100.00%           
===============================================
  Files                 65        65           
  Lines               5706      5708    +2     
===============================================
+ Hits                5706      5708    +2     
Flag Coverage Δ
3.10 100.00% <100.00%> (ø)
3.11 100.00% <100.00%> (ø)
3.12 100.00% <100.00%> (ø)
3.13 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@LukasLuehrs
LukasLuehrs changed the base branch from master to release-1-0-0 November 10, 2025 12:10

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the regression legend should be removed from the pool classification legend.

Pool-based AL Strategies for Mulitple Annotators
------------------------------------------------

**Legend for regression plots**

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
**Legend for regression plots**
**Legend for classification plots**

Aren't these examples for classification instead of regression?

"title" : "Interval Estimation Threshold",
"refs" : [],
"sequence" : ["title", "text_0", "plot", "refs"],
"text_0" : "Interval Estimation Threshold (IEThresh) [1]_ selects samples based on 'Uncertainty Sampling'. The selected samples are labeled by the annotators whose estimated annotation performances are equal or greater than an adaptive threshold. The strategy assumes all annotators to be available and is not defined otherwise. To deal with this case nonetheless value-annotator pairs are first ranked according to the amount of annotators available for the given value in `candidates` and are than ranked according to `IntervalEstimationThreshold`.",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"text_0" : "Interval Estimation Threshold (IEThresh) [1]_ selects samples based on 'Uncertainty Sampling'. The selected samples are labeled by the annotators whose estimated annotation performances are equal or greater than an adaptive threshold. The strategy assumes all annotators to be available and is not defined otherwise. To deal with this case nonetheless value-annotator pairs are first ranked according to the amount of annotators available for the given value in `candidates` and are than ranked according to `IntervalEstimationThreshold`.",
"text_0" : "**Idea:** Interval Estimation Threshold (IEThresh) selects samples based on 'Uncertainty Sampling'. The selected samples are labeled by the annotators whose estimated annotation performances are equal or greater than an adaptive threshold. The strategy assumes all annotators to be available and is not defined otherwise. To deal with this case nonetheless value-annotator pairs are first ranked according to the amount of annotators available for the given value in `candidates` and are than ranked according to `IntervalEstimationThreshold`.",

"title" : "Random Sampling",
"refs" : [],
"sequence" : ["title", "text_0", "plot", "refs"],
"text_0" : "Implementation of a wrapper class for pool-based active learning query strategies with a single annotator such that it transforms the query strategy for the single annotator into a query strategy for multiple annotators by choosing an annotator randomly or according to the parameter `A_perf` and setting the labeled matrix to a labeled vector by an aggregation function, e.g., majority voting. Here the single-annotator strategy is 'RandomSampling' and for the chosen sample 3 annotators are chosen at random to provide a label.",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"text_0" : "Implementation of a wrapper class for pool-based active learning query strategies with a single annotator such that it transforms the query strategy for the single annotator into a query strategy for multiple annotators by choosing an annotator randomly or according to the parameter `A_perf` and setting the labeled matrix to a labeled vector by an aggregation function, e.g., majority voting. Here the single-annotator strategy is 'RandomSampling' and for the chosen sample 3 annotators are chosen at random to provide a label.",
"text_0" : "**Idea:** Implementation of a wrapper class for pool-based active learning query strategies with a single annotator such that it transforms the query strategy for the single annotator into a query strategy for multiple annotators by choosing an annotator randomly or according to the parameter `A_perf` and setting the labeled matrix to a labeled vector by an aggregation function, e.g., majority voting. Here the single-annotator strategy is 'RandomSampling' and for the chosen sample 3 annotators are chosen at random to provide a label.",

"title" : "Core Set + Greedy Selection",
"refs" : [],
"sequence" : ["title", "text_0", "plot", "refs"],
"text_0" : "Implementation of a wrapper class for pool-based active learning query strategies with a single annotator such that it transforms the query strategy for the single annotator into a query strategy for multiple annotators by choosing an annotator randomly or according to the parameter `A_perf` and setting the labeled matrix to a labeled vector by an aggregation function, e.g., majority voting. Here the single-annotator strategy is 'Core Set' and for the chosen sample the current 3 annotators with best estimated performance are chosen to provide a label.",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"text_0" : "Implementation of a wrapper class for pool-based active learning query strategies with a single annotator such that it transforms the query strategy for the single annotator into a query strategy for multiple annotators by choosing an annotator randomly or according to the parameter `A_perf` and setting the labeled matrix to a labeled vector by an aggregation function, e.g., majority voting. Here the single-annotator strategy is 'Core Set' and for the chosen sample the current 3 annotators with best estimated performance are chosen to provide a label.",
"text_0" : "**Idea:** Implementation of a wrapper class for pool-based active learning query strategies with a single annotator such that it transforms the query strategy for the single annotator into a query strategy for multiple annotators by choosing an annotator randomly or according to the parameter `A_perf` and setting the labeled matrix to a labeled vector by an aggregation function, e.g., majority voting. Here the single-annotator strategy is 'Core Set' and for the chosen sample the current 3 annotators with best estimated performance are chosen to provide a label.",

@tpham93
tpham93 merged commit 501ac27 into release-1-0-0 Nov 10, 2025
@tpham93
tpham93 deleted the 524-add-ma-template+update-notebook branch November 10, 2025 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants