UnlabeledPoolExhaustedCriterion<T>

Models & Types · AiDotNet.ActiveLearning.StoppingCriteria

Stopping criterion that triggers when the unlabeled pool is exhausted.

Implements: IStoppingCriterion<T>

For Beginners

This is a simple but important criterion - it stops active learning when there are no more unlabeled samples to query. This is the natural endpoint when all data has been labeled.

How It Works

When to Use:

Optional Threshold: Can also stop when pool falls below a minimum size, useful when very small pools aren’t worth querying.

Constructors

Constructor Summary
UnlabeledPoolExhaustedCriterion() Initializes a new UnlabeledPoolExhausted criterion that stops at zero remaining.
UnlabeledPoolExhaustedCriterion(int minimumRemaining) Initializes a new UnlabeledPoolExhausted criterion with minimum threshold.

Properties

Property Summary
int MinimumRemaining { get; } Gets the minimum pool size before stopping.
string Description { get; }
string Name { get; }

Methods

Method Summary
T GetProgress(ActiveLearningContext<T> context)
bool ShouldStop(ActiveLearningContext<T> context)
void Reset()