This repository is the foundation for dissertation research in explainable AI, robustness, distribution shift, and stability.
data/— raw and processed datasets for experimentsmodels/— trained model artifacts and serialized pipelinesexplainers/— explanation methods, analysis scripts, and comparison codeshifts/— distribution shift scenarios, drift datasets, and shift generation utilitiesanalysis/— evaluation code, figures, statistical analysis, and notebooksresults/— experimental outputs, metrics, and reportssrc/— project source code and reproducibility helpersdocs/— documentation for reproducibility, experiment tracking, and methodology
- Install Python 3.10 or newer.
- Create a virtual environment:
python -m venv .venv
.\.venv\Scripts\Activate.ps1- Install pinned dependencies:
python -m pip install --upgrade pip
python -m pip install -r requirements.txtThis project uses MLflow for experiment tracking.
- Default tracking URI:
./mlruns - Default experiment name:
xai_dissertation
Run the MLflow UI locally:
mlflow ui --backend-store-uri file:./mlrunsUse src/mlflow_setup.py to configure experiments programmatically.
Use src/config.py as the single source of truth for random seed and hashing salt.
from src.config import RANDOM_SEED, get_deterministic_hashRecord the commit hash for every experiment:
git rev-parse HEADThis repository is licensed under the MIT License. See LICENSE for details.
- This repository captures the dissertation research pipeline and should remain reproducible from the first commit.
- Keep data artifacts out of Git by using the
.gitignorerules and storing large datasets outside the repository if needed.