## Fairness Indicators

Fairness Indicators 程式庫可讓你為二進位檔和多類別分類器輕鬆計算常用的公平性指標。你可以運用 Fairness Indicators 工具套件執行下列作業：

• 為分類模型計算常用的公平性指標
• 將子群組的模型效能與基準值或其他模型比較
• 使用信賴區間來呈現具有統計顯著程度的差異
• 針對多個閾值進行評估

```eval_config_pbtxt = """

model_specs {
label_key: "%s"
}

metrics_specs {
metrics {
class_name: "FairnessIndicators"
config: '{ "thresholds": [0.25, 0.5, 0.75] }'
}
metrics {
class_name: "ExampleCount"
}
}

slicing_specs {}
slicing_specs {
feature_keys: "%s"
}

options {
compute_confidence_intervals { value: False }
disabled_outputs{values: "analysis"}
}
""" % (LABEL_KEY, GROUP_KEY)
```

### 資源

[{ "type": "thumb-down", "id": "missingTheInformationINeed", "label":"缺少我需要的資訊" },{ "type": "thumb-down", "id": "tooComplicatedTooManySteps", "label":"過於複雜/步驟過多" },{ "type": "thumb-down", "id": "outOfDate", "label":"過時" },{ "type": "thumb-down", "id": "translationIssue", "label":"翻譯問題" },{ "type": "thumb-down", "id": "samplesCodeIssue", "label":"示例/程式碼問題" },{ "type": "thumb-down", "id": "otherDown", "label":"其他" }]
[{ "type": "thumb-up", "id": "easyToUnderstand", "label":"容易理解" },{ "type": "thumb-up", "id": "solvedMyProblem", "label":"確實解決了我的問題" },{ "type": "thumb-up", "id": "otherUp", "label":"其他" }]