ActiveLearningIterationResult<T>

Models & Types · AiDotNet.ActiveLearning.Results

Result from a single active learning iteration.

For Beginners

Each iteration of active learning involves selecting samples, getting labels, and retraining the model. This class captures what happened in one iteration.

Constructors

Constructor Summary
ActiveLearningIterationResult(INumericOperations<T> numOps) Initializes a new instance with default values.

Properties

Property Summary
T AveragePoolUncertainty { get; set; } Gets or sets the average uncertainty of the unlabeled pool.
T AverageQueryScore { get; set; } Gets or sets the average informativeness score of queried samples.
T MaxQueryScore { get; set; } Gets or sets the maximum informativeness score among queried samples.
T TrainingAccuracy { get; set; } Gets or sets the training accuracy after this iteration.
T TrainingLoss { get; set; } Gets or sets the training loss after this iteration.
T ValidationAccuracy { get; set; } Gets or sets the validation accuracy after this iteration (if available).
T ValidationLoss { get; set; } Gets or sets the validation loss after this iteration (if available).
T[] QueryScores { get; set; } Gets or sets the informativeness scores of queried samples.
TimeSpan IterationTime { get; set; } Gets or sets the time spent on this iteration.
TimeSpan SelectionTime { get; set; } Gets or sets the time spent selecting samples.
TimeSpan TrainingTime { get; set; } Gets or sets the time spent training the model.
bool HasValidation { get; set; } Gets or sets whether validation data was available for this iteration.
int IterationNumber { get; set; } Gets or sets the iteration number (0-indexed).
int SamplesQueried { get; set; } Gets or sets the number of samples queried in this iteration.
int TotalLabeledSamples { get; set; } Gets or sets the total number of labeled samples after this iteration.
int UnlabeledRemaining { get; set; } Gets or sets the number of unlabeled samples remaining.
int[] QueriedIndices { get; set; } Gets or sets the indices of samples that were queried.