Table of Contents

Class AnchorExplanation<T>

Namespace
AiDotNet.Interpretability
Assembly
AiDotNet.dll

Represents an anchor explanation providing rule-based interpretations.

public class AnchorExplanation<T>

Type Parameters

T

The numeric type for calculations.

Inheritance
AnchorExplanation<T>
Inherited Members

Constructors

AnchorExplanation()

Initializes a new instance of the AnchorExplanation class.

public AnchorExplanation()

Properties

AnchorFeatures

Gets or sets the features involved in the anchor.

public List<int> AnchorFeatures { get; set; }

Property Value

List<int>

AnchorRules

Gets or sets the anchor rules (feature indices and their conditions).

public Dictionary<int, (T Min, T Max)> AnchorRules { get; set; }

Property Value

Dictionary<int, (T Min, T Max)>

Coverage

Gets or sets the coverage of the anchor (fraction of instances covered).

public T Coverage { get; set; }

Property Value

T

Description

Gets or sets a human-readable description of the anchor rules.

public string Description { get; set; }

Property Value

string

Precision

Gets or sets the precision of the anchor (how often the anchor holds).

public T Precision { get; set; }

Property Value

T

Threshold

Gets or sets the threshold used for anchor construction.

public T Threshold { get; set; }

Property Value

T