FairnessMetrics<T>
Models & Types · AiDotNet.Interpretability
Represents fairness metrics for model evaluation.
Constructors
| Constructor | Summary |
|---|---|
FairnessMetrics(T demographicParity, T equalOpportunity, T equalizedOdds, T predictiveParity, T disparateImpact, T statisticalParityDifference) |
Initializes a new instance of the FairnessMetrics class with all metric values. |
Properties
| Property | Summary |
|---|---|
Dictionary<string, T> AdditionalMetrics { get; set; } |
Gets or sets additional fairness metrics. |
T DemographicParity { get; set; } |
Gets or sets the demographic parity metric value. |
T DisparateImpact { get; set; } |
Gets or sets the disparate impact metric value. |
T EqualOpportunity { get; set; } |
Gets or sets the equal opportunity metric value. |
T EqualizedOdds { get; set; } |
Gets or sets the equalized odds metric value. |
T PredictiveParity { get; set; } |
Gets or sets the predictive parity metric value. |
T StatisticalParityDifference { get; set; } |
Gets or sets the statistical parity difference metric value. |
int SensitiveFeatureIndex { get; set; } |
Gets or sets the sensitive feature index used for fairness evaluation. |