Download testbed/fairlearn__fairlearn/fairlearn/postprocessing/_constants.py from hc99/FEA-Bench: direct link, hf CLI and curl.
- Browser
- Download file 473 Bytes
-
https://huggingface.co/datasets/hc99/FEA-Bench/resolve/main/testbed/fairlearn__fairlearn/fairlearn/postprocessing/_constants.py
- Command line
-
hf download hf://datasets/hc99/FEA-Bench/testbed/fairlearn__fairlearn/fairlearn/postprocessing/_constants.py
-
curl -L -o _constants.py https://huggingface.co/datasets/hc99/FEA-Bench/resolve/main/testbed/fairlearn__fairlearn/fairlearn/postprocessing/_constants.py
473 Bytes
| # Copyright (c) Microsoft Corporation. All rights reserved. | |
| # Licensed under the MIT License. | |
| SCORE_KEY = "score" | |
| LABEL_KEY = "label" | |
| SENSITIVE_FEATURE_KEY = "sensitive_feature" | |
| P0_KEY = "p0" | |
| P1_KEY = "p1" | |
| OUTPUT_SEPARATOR = "-"*65 | |
| DEMOGRAPHIC_PARITY = "demographic_parity" | |
| EQUALIZED_ODDS = "equalized_odds" | |
| _MATPLOTLIB_IMPORT_ERROR_MESSAGE = "Please make sure to install fairlearn[customplots] to use " \ | |
| "the postprocessing plots." | |