BiasDetectionResult<T>
Models & Types · AiDotNet.Interpretability
Represents the results of a bias detection analysis.
Constructors
| Constructor | Summary |
|---|---|
BiasDetectionResult() |
Initializes a new instance of the BiasDetectionResult class. |
Properties
| Property | Summary |
|---|---|
Dictionary<string, T> GroupFalsePositiveRates { get; set; } |
Gets or sets the False Positive Rates for each group. |
Dictionary<string, T> GroupPositiveRates { get; set; } |
Gets or sets the positive prediction rates for each group. |
Dictionary<string, T> GroupPrecisions { get; set; } |
Gets or sets the Precision values for each group. |
Dictionary<string, T> GroupTruePositiveRates { get; set; } |
Gets or sets the True Positive Rates for each group. |
Dictionary<string, int> GroupSizes { get; set; } |
Gets or sets the sizes of each group. |
T DisparateImpactRatio { get; set; } |
Gets or sets the disparate impact ratio (min rate / max rate). |
T EqualOpportunityDifference { get; set; } |
Gets or sets the equal opportunity difference (max TPR - min TPR). |
T StatisticalParityDifference { get; set; } |
Gets or sets the statistical parity difference (max rate - min rate). |
bool HasBias { get; set; } |
Gets or sets whether bias was detected. |
string Message { get; set; } |
Gets or sets the message describing the bias detection results. |