attrbench-0.0.2
توضیحات
A benchmark for feature attribution techniques
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | attrbench-0.0.2 |
| نام | attrbench |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Arne Gevaert, Axel-Jan Rousseau |
| ایمیل نویسنده | arne.gevaert@ugent.be, axeljan.rousseau@uhasselt.be |
| آدرس صفحه اصلی | https://github.com/zoeparman/benchmark |
| آدرس اینترنتی | https://pypi.org/project/attrbench/ |
| مجوز | - |
# AttrBench: Metrics for Feature Attribution Techniques
This repository contains the source code for the `attrbench` package, which provides a [Pytorch]()-based implementation of several metrics for the evaluation of feature attribution maps and methods. The package is currently mainly focused on image data, but we plan to generalize the code to work for any type of data.
## Installation
To install the project, run:
```bash
pip install attrbench
```
## Available metrics
- Deletion
- Insertion
- IROF
- IIOF
- Impact Coverage
- Impact Score
- Infidelity
- Max-Sensitivity
- Minimal Subset
- Sensitivity-n
- Seg-Sensitivity-n
## Future work
We are mainly working in 3 general directions for the near future:
- Generalization of the benchmark to other data modalities than images.
- Optimization of GPU usage.
- Inclusion of new metrics
نیازمندی
| مقدار | نام |
|---|---|
| >=1.5.0 | torch |
| >=2.0.0 | h5py |
| >=4.0.0 | tqdm |
| >=0.4.0 | krippendorff |
| >=4.0.0.0 | opencv-python |
| >=0.24.0 | scikit-learn |
| >=0.10.0 | seaborn |
| >=1.18.0 | dash |
| >=0.10.0 | dash-bootstrap-components |
| >=1.14.0 | dash-core-components |
| >=1.1.0 | dash-html-components |
| >=1.8.0 | dash-renderer |
| >=4.11.0 | dash-table |
| ==6.2.5 | pytest |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl attrbench-0.0.2:
pip install attrbench-0.0.2.whl
نصب پکیج tar.gz attrbench-0.0.2:
pip install attrbench-0.0.2.tar.gz