Skip to content

Commit ed7dc7e

Browse files
authored
Merge pull request #192 from swag2198/master
Adding explanation certification (ICML 2024)
2 parents 5a75375 + 1935fd5 commit ed7dc7e

File tree

11 files changed

+11308
-2
lines changed

11 files changed

+11308
-2
lines changed

.github/workflows/Build.yml

+32
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,38 @@ jobs:
389389
- name: Step 6 - Test IMD Notebook
390390
run: pytest --nbmake ./examples/imd/imd_example.ipynb
391391

392+
build-ecertify-on-py38-310:
393+
# The type of runner that the job will run on
394+
runs-on: "${{ matrix.os }}"
395+
strategy:
396+
fail-fast: false
397+
matrix:
398+
# os: [ubuntu-18.04, ubuntu-latest, macos-latest, windows-latest]
399+
os: [ubuntu-20.04, macos-latest, windows-latest]
400+
python-version: ["3.10"]
401+
402+
# Steps represent a sequence of tasks that will be executed as part of the job
403+
steps:
404+
- name: Step 1 - checkout aix360 repository
405+
uses: actions/checkout@v3
406+
407+
- name: Step 2 - set up python version
408+
uses: actions/setup-python@v4
409+
with:
410+
python-version: "${{ matrix.python-version }}"
411+
412+
- name: Step 3 - upgrade setuptools
413+
run: pip3 install pytest nbmake wheel --upgrade setuptools
414+
415+
- name: Step 4 - Install aix360 with ecertify algorithm related dependencies
416+
run: pip3 install .[ecertify]
417+
418+
- name: Step 5 - Test Ecertify
419+
run: python ./tests/ecertify/test_ecertify.py
420+
421+
- name: Step 6 - Test Ecertify Notebook
422+
run: pytest --nbmake ./examples/ecertify/certification_example_fico.ipynb
423+
392424
# job to build groupedce algorithm on python 3.10.
393425
build-groupedce-on-py310:
394426
# The type of runner that the job will run on

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,12 @@ We have developed the package with extensibility in mind. This library is still
4040
- Teaching AI to Explain its Decisions ([Hind et al., 2019](https://doi.org/10.1145/3306618.3314273))
4141
- Order Constraints in Optimal Transport ([Lim et al.,2022](https://arxiv.org/abs/2110.07275), [Github](https://github.com/IBM/otoc))
4242

43+
### Certifying local explanations
44+
- Trust Regions for Explanations via Black-Box Probabilistic Certification (Ecertify) ([Dhurandhar et al., 2024](https://arxiv.org/abs/2402.11168))
45+
4346
### Global direct explanations
4447

45-
- Interpretable Model Differencing (IMD) ([Haldar et al., 2023](https://arxiv.org/abs/2306.06473))
48+
- Interpretable Model Differencing (IMD) ([Haldar et al., 2023](https://proceedings.mlr.press/v216/haldar23a.html))
4649
- CoFrNets (Continued Fraction Nets) ([Puri et al., 2021](https://papers.nips.cc/paper/2021/file/b538f279cb2ca36268b23f557a831508-Paper.pdf))
4750
- Boolean Decision Rules via Column Generation (Light Edition) ([Dash et al., 2018](https://papers.nips.cc/paper/7716-boolean-decision-rules-via-column-generation))
4851
- Generalized Linear Rule Models ([Wei et al., 2019](http://proceedings.mlr.press/v97/wei19a.html))
@@ -67,6 +70,7 @@ We have developed the package with extensibility in mind. This library is still
6770
| contrastive |cem, cem_maf | macOS, Ubuntu, Windows | 3.6 |
6871
| dipvae | dipvae| macOS, Ubuntu, Windows | 3.10 |
6972
| gce | gce | macOS, Ubuntu, Windows | 3.10 |
73+
| ecertify | ecertify | macOS, Ubuntu, Windows | 3.10 |
7074
| imd | imd | macOS, Ubuntu | 3.10 |
7175
| lime | lime| macOS, Ubuntu, Windows | 3.10 |
7276
| matching | matching| macOS, Ubuntu, Windows | 3.10 |

0 commit comments

Comments
 (0)