BiasConfig
Options & Configuration · AiDotNet.Safety.Fairness
Configuration for bias and fairness detection modules.
For Beginners
Use this to configure which types of bias to check for and which demographic groups to analyze.
Constructors
| Constructor | Summary |
|---|---|
BiasConfig() |
Properties
| Property | Summary |
|---|---|
bool? IntersectionalAnalysis { get; set; } |
Whether to check for intersectional bias. |
bool? StereotypeDetection { get; set; } |
Whether to detect stereotypical associations. |
double? DisparityThreshold { get; set; } |
Disparity threshold for flagging bias (0.0-1.0). |
string[] ProtectedAttributes { get; set; } |
Protected attributes to analyze (e.g., “gender”, “race”, “age”). |