TestTimeAugmentationResult<TOutput>

Models & Types · AiDotNet.Augmentation

Contains the result of a Test-Time Augmentation prediction, including individual and aggregated predictions.

For Beginners

This class gives you both:

  1. The final combined prediction (what you usually want)
  2. All the individual predictions (for debugging or analysis)

You also get uncertainty information - if all 5 predictions were similar, you can be confident in the result. If they varied wildly, you might want to be more cautious.

Constructors

Constructor Summary
TestTimeAugmentationResult(TOutput aggregated, IReadOnlyList<TOutput> individual, double? confidence, double? standardDeviation) Creates a new Test-Time Augmentation result.

Properties

Property Summary
IReadOnlyList<TOutput> IndividualPredictions { get; } Gets all the individual predictions from each augmented version.
TOutput AggregatedPrediction { get; } Gets the final combined prediction after aggregating all augmented predictions.
double? Confidence { get; } Gets the confidence score of the aggregated prediction (if available).
double? StandardDeviation { get; } Gets the standard deviation of predictions, measuring uncertainty.