Table of Contents

Interface IAugmentationRecommender

Namespace
AiDotNet.Augmentation
Assembly
AiDotNet.dll

Interface for recommending augmentations based on task and data characteristics.

public interface IAugmentationRecommender

Remarks

This interface enables integration with agent systems and AutoML pipelines by providing intelligent augmentation recommendations based on: - The type of ML task being performed - Characteristics of the dataset - Best practices from research and industry

For Beginners: Different tasks need different augmentations. Object detection needs augmentations that preserve bounding boxes, while pose estimation needs ones that correctly transform keypoints. This recommender helps choose the right augmentations automatically.

Methods

GetDefaultPolicy(AugmentationTaskType, double)

Gets a pre-configured augmentation policy for a task.

IAugmentationPolicy GetDefaultPolicy(AugmentationTaskType taskType, double strength = 0.5)

Parameters

taskType AugmentationTaskType

The ML task type.

strength double

The augmentation strength (0.0 = none, 1.0 = maximum).

Returns

IAugmentationPolicy

A ready-to-use augmentation policy.

GetRecommendations(AugmentationTaskType, DatasetCharacteristics)

Gets recommendations for augmentations based on task and data.

IList<AugmentationRecommendation> GetRecommendations(AugmentationTaskType taskType, DatasetCharacteristics characteristics)

Parameters

taskType AugmentationTaskType

The ML task type.

characteristics DatasetCharacteristics

The dataset characteristics.

Returns

IList<AugmentationRecommendation>

A list of recommended augmentations ordered by priority.

ValidateAugmentations(IEnumerable<string>, AugmentationTaskType)

Validates whether augmentations are compatible with the task.

AugmentationValidationResult ValidateAugmentations(IEnumerable<string> augmentations, AugmentationTaskType taskType)

Parameters

augmentations IEnumerable<string>

The augmentations to validate.

taskType AugmentationTaskType

The ML task type.

Returns

AugmentationValidationResult

Validation result with any incompatibility warnings.