FeatureChange<T>

Models & Types · AiDotNet.Interpretability.Explainers

Represents a single feature change in a counterfactual.

Constructors

Constructor Summary
FeatureChange(int featureIndex, string featureName, T originalValue, T counterfactualValue) Initializes a new feature change.

Properties

Property Summary
T CounterfactualValue { get; } Counterfactual value.
T OriginalValue { get; } Original value.
int FeatureIndex { get; } Index of the feature that changed.
string FeatureName { get; } Name of the feature that changed.

Methods

Method Summary
string ToString() Returns string representation.