# Shapley image explanations with data-aware Binary Partition Trees

This folder contains all notebook folders for various applications of ShapBPT including:

*Folders*:
1. [`E1_to_E5`](E1_to_E5/) contains ShapBPT examples and codes for `Image localization probmen` on `ImageNet` dataset.
2. [`E6_XAD`](E6_XAD/) contains ShapBPT examples and codes for `Image Anomaly Detection` on `MVTec` dataset.
3. [`E7_CelebA`](E7_CelebA/) contains ShapBPT examples and codes for `Facial Attribute Detection`  on `CelebA` dataset.
4. [`dataset`](dataset/) should contain all the required datasets to place in it.
5. [`paper_figures`](paper_figures/) contains all subfigures required to generate `Figure_1` & `Figure_2` of the paper.
6. [`utils`](utils/) contains supporting files needs for the notebooks.

*Files*:

[`N1_Fig1_and_Fig2.ipynb`](/N1_Fig1_and_Fig2.ipynb) contains code to save all subfigures required to generate `Figure_1` & `Figure_2` of the paper 