Skip to content

This repository is for the paper, "eXplainable AI for Imbalanced Data."

License

Notifications You must be signed in to change notification settings

dd1github/IML_for_Imbalanced_Learning

Repository files navigation

IML_for_Imbalanced_Learning

Framework

This repository is for the paper, "Interpretable ML for Imbalanced Data." It contains the code and links to obtain pre-trained models, as well as the steps, to reproduce several of the visualizations listed in the paper. Please note that the code provided below is for the CIFAR-10 dataset.

Steps

  1. Extract FE from a trained model.
  1. Display class accuracy.
  • class_accuracy.py
  1. Visualize class archetypes (safe, border, rare, outliers) for a specific class
  • First, generate nearest neighbors with arch_NNB.py
  • Alternatively, use the CE_cif_trn_NNB.csv file in the data folder.
  • Run k_medoid_viz.py
  1. Visualize nearest adversary neighbors bar chart
  • Run NNB_FP_bar.py
  1. Display feature embedding (FE) top-10 indices and FE densities
  • Run FE_idx_density.py
  1. Visualize color bands for a specific class of interest
  • Run saliency_texture.py

About

This repository is for the paper, "eXplainable AI for Imbalanced Data."

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages