https://github.com/fairlearn/fairlearn-performance
Performance tests for Fairlearn
https://github.com/fairlearn/fairlearn-performance
Last synced: 11 months ago
JSON representation
Performance tests for Fairlearn
- Host: GitHub
- URL: https://github.com/fairlearn/fairlearn-performance
- Owner: fairlearn
- License: mit
- Created: 2020-03-11T04:06:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-29T00:59:40.000Z (almost 6 years ago)
- Last Synced: 2025-06-05T22:27:49.990Z (about 1 year ago)
- Language: Python
- Size: 34.2 KB
- Stars: 1
- Watchers: 5
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Performance tests for Fairlearn
This repository exclusively contains performance tests for the [Fairlearn](https://github.com/fairlearn/fairlearn) repository.
## Running tests locally
Setup:
```bash
# clone Fairlearn repo and Fairlearn-Performance repo
git clone https://github.com/fairlearn/fairlearn.git
git clone https://github.com/fairlearn/fairlearn-performance.git
# install Fairlearn-Performance dependencies
pip install -r fairlearn-performance/requirements.txt
# install latest Fairlearn to ensure compatibility
pip install fairlearn/.
# to show all tests
python -m pytest .\fairlearn-performance\perf\ --maxfail=1 -s --collect-only
# to run a single test from the full list
python -m pytest .\fairlearn-performance\perf\ --maxfail=1 -s -k test_perf[[dataset:adult_uci,estimator:DecisionTreeClassifier[],mitigator:GridSearch,disparity_metric:TruePositiveRateParity[]]]
```