BudgetExhaustedCriterion<T>
Models & Types · AiDotNet.ActiveLearning.StoppingCriteria
Stopping criterion based on labeling budget exhaustion.
Implements: IStoppingCriterion<T>
For Beginners
This is the most basic stopping criterion - it simply checks if you’ve labeled as many samples as your budget allows.
How It Works
When to Use:
Implementation: Compares TotalLabeled against MaxBudget in the context.
Constructors
| Constructor | Summary |
|---|---|
BudgetExhaustedCriterion() |
Initializes a new BudgetExhausted criterion using context budget. |
BudgetExhaustedCriterion(int? budget) |
Initializes a new BudgetExhausted criterion with a specific budget. |
Properties
| Property | Summary |
|---|---|
string Description { get; } |
|
string Name { get; } |
Methods
| Method | Summary |
|---|---|
T GetProgress(ActiveLearningContext<T> context) |
|
bool ShouldStop(ActiveLearningContext<T> context) |
|
void Reset() |