Class BiasDetectionResult<T>
- Namespace
- AiDotNet.Interpretability
- Assembly
- AiDotNet.dll
Represents the results of a bias detection analysis.
public class BiasDetectionResult<T>
Type Parameters
TThe numeric type for calculations.
- Inheritance
-
BiasDetectionResult<T>
- Inherited Members
Constructors
BiasDetectionResult()
Initializes a new instance of the BiasDetectionResult class.
public BiasDetectionResult()
Properties
DisparateImpactRatio
Gets or sets the disparate impact ratio (min rate / max rate).
public T DisparateImpactRatio { get; set; }
Property Value
- T
EqualOpportunityDifference
Gets or sets the equal opportunity difference (max TPR - min TPR).
public T EqualOpportunityDifference { get; set; }
Property Value
- T
GroupFalsePositiveRates
Gets or sets the False Positive Rates for each group.
public Dictionary<string, T> GroupFalsePositiveRates { get; set; }
Property Value
- Dictionary<string, T>
GroupPositiveRates
Gets or sets the positive prediction rates for each group.
public Dictionary<string, T> GroupPositiveRates { get; set; }
Property Value
- Dictionary<string, T>
GroupPrecisions
Gets or sets the Precision values for each group.
public Dictionary<string, T> GroupPrecisions { get; set; }
Property Value
- Dictionary<string, T>
GroupSizes
Gets or sets the sizes of each group.
public Dictionary<string, int> GroupSizes { get; set; }
Property Value
GroupTruePositiveRates
Gets or sets the True Positive Rates for each group.
public Dictionary<string, T> GroupTruePositiveRates { get; set; }
Property Value
- Dictionary<string, T>
HasBias
Gets or sets whether bias was detected.
public bool HasBias { get; set; }
Property Value
Message
Gets or sets the message describing the bias detection results.
public string Message { get; set; }
Property Value
StatisticalParityDifference
Gets or sets the statistical parity difference (max rate - min rate).
public T StatisticalParityDifference { get; set; }
Property Value
- T