IOracle<TInput, TOutput>
Interfaces · AiDotNet.ActiveLearning.Interfaces
Interface for oracles (labeling providers) in active learning.
For Beginners
An oracle is the source of labels for unlabeled data. In real applications, this is typically a human expert. In experiments, it can be a simulator using ground-truth labels.
Methods
| Method | Summary |
|---|---|
T GetLabelingCost(TInput input) |
Gets the cost of labeling a sample. |
TOutput Label(TInput input) |
Provides a label for a single sample. |
TOutput[] LabelBatch(TInput[] inputs) |
Provides labels for a batch of samples. |