Table of Contents

Class AugmentationAppliedEventArgs<T>

Namespace
AiDotNet.Augmentation
Assembly
AiDotNet.dll

Event arguments raised when an augmentation is applied.

public class AugmentationAppliedEventArgs<T> : EventArgs

Type Parameters

T

The numeric type for calculations.

Inheritance
AugmentationAppliedEventArgs<T>
Inherited Members

Constructors

AugmentationAppliedEventArgs(string, IDictionary<string, object>, int, bool)

Creates a new augmentation applied event.

public AugmentationAppliedEventArgs(string augmentationName, IDictionary<string, object> parameters, int sampleIndex, bool wasApplied)

Parameters

augmentationName string

The name of the augmentation.

parameters IDictionary<string, object>

The parameters used.

sampleIndex int

The sample index.

wasApplied bool

Whether the augmentation was applied.

Properties

AugmentationName

Gets the name of the augmentation that was applied.

public string AugmentationName { get; }

Property Value

string

Parameters

Gets the parameters used for this application.

public IDictionary<string, object> Parameters { get; }

Property Value

IDictionary<string, object>

SampleIndex

Gets the sample index within the batch.

public int SampleIndex { get; }

Property Value

int

WasApplied

Gets whether the augmentation was actually applied (vs. skipped due to probability).

public bool WasApplied { get; }

Property Value

bool