Datasets:
Tasks:
Tabular Classification
Sub-tasks:
tabular-multi-class-classification
Languages:
English
Size:
1K<n<10K
Tags:
software-defect-prediction
cross-project-defect-prediction
feature-selection
TreeSHAP
explainable-ai
LightGBM
License:
Add publication-grade Dataset Card (README.md) — 9,327 checkpoints, full phase breakdown, verified metrics
Browse files
README.md
CHANGED
|
@@ -1,4 +1,329 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- tabular-classification
|
| 5 |
+
task_ids:
|
| 6 |
+
- binary-classification
|
| 7 |
+
language:
|
| 8 |
+
- en
|
| 9 |
+
pretty_name: "AEFS: Canonical Cloud Execution Checkpoints & Artifacts"
|
| 10 |
+
tags:
|
| 11 |
+
- software-defect-prediction
|
| 12 |
+
- cross-project-defect-prediction
|
| 13 |
+
- feature-selection
|
| 14 |
+
- TreeSHAP
|
| 15 |
+
- explainable-ai
|
| 16 |
+
- LightGBM
|
| 17 |
+
- LOPO-cross-validation
|
| 18 |
+
- software-metrics
|
| 19 |
+
- reproducibility
|
| 20 |
+
size_categories:
|
| 21 |
+
- 1K<n<10K
|
| 22 |
+
---
|
| 23 |
+
|
| 24 |
+
# AEFS: Canonical Cloud Execution Checkpoints & Artifacts
|
| 25 |
+
|
| 26 |
+
> **Paper:** *An Adaptive Explainable Feature Selection Framework for Cross-Project Software Defect Prediction (AEFS)*
|
| 27 |
+
> **Authors:** Mohsin Ibna Hossain, Tasnim Bari Jenny, Afroja Hoque Shornaly, Md. Khairul Alam Mazumder, Saikat Baul, Md Rakibul Islam, Muhammad Firoz Mridha
|
| 28 |
+
> **License:** [MIT](https://opensource.org/licenses/MIT)
|
| 29 |
+
|
| 30 |
+
## Quick Links
|
| 31 |
+
|
| 32 |
+
| Resource | URL |
|
| 33 |
+
|----------|-----|
|
| 34 |
+
| 📄 Code & Summary Tables | [github.com/MIHMahmudEli/aefs](https://github.com/MIHMahmudEli/aefs) |
|
| 35 |
+
| 🤗 This HF Repository | [huggingface.co/datasets/MohsinElis/AEFS_Checkpoints](https://huggingface.co/datasets/MohsinElis/AEFS_Checkpoints) |
|
| 36 |
+
|
| 37 |
+
---
|
| 38 |
+
|
| 39 |
+
## Overview
|
| 40 |
+
|
| 41 |
+
This repository contains **9,327 canonical cloud execution checkpoints and analytical artifacts** from the full experimental evaluation of the **AEFS** (Adaptive Explainable Feature Selection) framework for cross-project software defect prediction (CPDP).
|
| 42 |
+
|
| 43 |
+
All artifacts were generated by a **16-worker pinned Kaggle fleet** executing Leave-One-Project-Out (LOPO) cross-validation across four benchmark software defect datasets. The repository serves as a single source of truth for all empirical results reported in the manuscript.
|
| 44 |
+
|
| 45 |
+
**Total size:** ~6.63 GiB (7,120,859,451 bytes)
|
| 46 |
+
**Artifact types:** per-fold metrics, selected feature sets, TreeSHAP attribution matrices, out-of-fold predictions, model checkpoints, diagnostic figures, sensitivity sweeps, and ablation results.
|
| 47 |
+
|
| 48 |
+
---
|
| 49 |
+
|
| 50 |
+
## Repository Contents
|
| 51 |
+
|
| 52 |
+
### What is stored here
|
| 53 |
+
|
| 54 |
+
| Category | Files | Description |
|
| 55 |
+
|----------|-------|-------------|
|
| 56 |
+
| **Metrics CSVs** | Per fold | Per-(method, model, seed) MCC, F1, AUC-ROC, feature counts, runtimes |
|
| 57 |
+
| **Selected Feature JSONs** | Per fold | Method → {n_features, Jaccard stability, feature list} |
|
| 58 |
+
| **Confusion Matrix JSONs** | Per fold | TP/FP/TN/FN and derived metrics per (method, model, seed) |
|
| 59 |
+
| **Stage Trace JSONs** | Per fold | Stage-wise feature counts and timings (AEFS pipeline stages) |
|
| 60 |
+
| **Metadata JSONs** | Per fold | Execution environment, row counts, method/model configuration |
|
| 61 |
+
| **Predictions Parquets** | Per fold | Instance-level y_true, y_pred, y_proba for all methods |
|
| 62 |
+
| **TreeSHAP Parquets** | P1, P2 | Exact TreeSHAP per-(instance, feature) matrix — AEFS + LightGBM only |
|
| 63 |
+
| **Model Checkpoints** | P1 (80 folds) | Serialized LightGBM `.joblib`, booster `.txt`, RandomForest `.joblib`, SVM `.joblib` |
|
| 64 |
+
| **Diagnostic Figures** | P1 (selected) | Per-fold confusion matrices, ROC curves, TreeSHAP bar plots (PNG + PDF) |
|
| 65 |
+
| **Sensitivity CSVs** | P3 | SHAP threshold, stability threshold, runtime, convergence sweeps |
|
| 66 |
+
| **Completion Markers** | All folds | `FOLD_DONE.json`, `TASK_DONE.json` with run nonce, data MD5, row counts |
|
| 67 |
+
|
| 68 |
+
### What is NOT stored here
|
| 69 |
+
|
| 70 |
+
The raw benchmark datasets (AEEEM, TeraPromise/Jureczko, NASA MDP, ReLink) are **not** included in this repository. They are publicly available from their original sources (see [Benchmark Datasets](#benchmark-datasets)). Refer to the GitHub repository for download scripts.
|
| 71 |
+
|
| 72 |
+
---
|
| 73 |
+
|
| 74 |
+
## Repository Structure
|
| 75 |
+
|
| 76 |
+
```
|
| 77 |
+
MohsinElis/AEFS_Checkpoints/
|
| 78 |
+
├── manifest.json # Pinned environment manifest & dataset MD5 checksums
|
| 79 |
+
├── status/
|
| 80 |
+
│ └── watchdog_state.json # Execution watchdog state (informational, 93/95 completed)
|
| 81 |
+
└── runs/
|
| 82 |
+
├── P1_main_*/ # Canonical seed=42 main evaluation
|
| 83 |
+
│ └── <pool>/<target>/seed_42/
|
| 84 |
+
│ ├── metrics.csv
|
| 85 |
+
│ ├── selected_features.json
|
| 86 |
+
│ ├── confusion_matrices.json
|
| 87 |
+
│ ├── stage_trace.json
|
| 88 |
+
│ ├── metadata.json
|
| 89 |
+
│ ├── predictions.parquet
|
| 90 |
+
│ ├── treeshap.parquet
|
| 91 |
+
│ ├── FOLD_DONE.json
|
| 92 |
+
│ ├── TASK_DONE.json
|
| 93 |
+
│ ├── checkpoints/
|
| 94 |
+
│ │ ├── AEFS_lightgbm.joblib
|
| 95 |
+
│ │ ├── AEFS_lightgbm_booster.txt
|
| 96 |
+
│ │ ├── AEFS_random_forest.joblib # AEEEM, NASA, ReLink only
|
| 97 |
+
│ │ └── AEFS_svm.joblib # AEEEM, NASA, ReLink only
|
| 98 |
+
��� └── figures/
|
| 99 |
+
│ ├── diag_*.png / diag_*.pdf # Confusion matrix + ROC overlay
|
| 100 |
+
│ └── shap_*.png / shap_*.pdf # TreeSHAP bar plots
|
| 101 |
+
├── P2_ms4_*/ # 5-seed AEFS multi-seed robustness (AEFS only)
|
| 102 |
+
│ └── <pool>/<target>/seed_{7,123,555,2024}/
|
| 103 |
+
│ └── [metrics, features, preds, treeshap, FOLD_DONE, TASK_DONE]
|
| 104 |
+
├── P3_sens_*/ # Sensitivity parameter sweeps
|
| 105 |
+
│ └── <pool>/<target>/
|
| 106 |
+
│ └── sensitivity.csv
|
| 107 |
+
├── P4_abl_*/ # Component ablation study
|
| 108 |
+
│ └── <pool>/<target>/seed_42/
|
| 109 |
+
│ └── [metrics, features, preds, FOLD_DONE, TASK_DONE]
|
| 110 |
+
├── P5_cpdp_*/ # CPDP-specific baselines
|
| 111 |
+
│ └── <pool>/<target>/seed_42/
|
| 112 |
+
│ └── [metrics, features, preds, FOLD_DONE, TASK_DONE]
|
| 113 |
+
├── P6_ms4_*/ # Multi-seed baselines (AEEEM, NASA, ReLink)
|
| 114 |
+
│ └── <pool>/<target>/seed_{7,123,555,2024}/
|
| 115 |
+
│ └── [metrics, features, preds, FOLD_DONE, TASK_DONE]
|
| 116 |
+
└── P7_ms4_*/ # Multi-seed baselines (TeraPromise)
|
| 117 |
+
└── tera/<target>/seed_{7,123,555,2024}/
|
| 118 |
+
└── [metrics, features, preds, FOLD_DONE, TASK_DONE]
|
| 119 |
+
```
|
| 120 |
+
|
| 121 |
+
### Experimental Phase Breakdown
|
| 122 |
+
|
| 123 |
+
| Phase | Description | Targets | Seeds | Methods | Files | Size |
|
| 124 |
+
|-------|-------------|---------|-------|---------|-------|------|
|
| 125 |
+
| **P1_main** | Main evaluation grid | 80 (all pools) | 42 | 6 methods × 3 models | 1,228 | ~5,994 MiB |
|
| 126 |
+
| **P2_ms4** | 5-seed AEFS robustness | 80 (all pools) | 7, 123, 555, 2024 | AEFS only | 4,594 | ~764 MiB |
|
| 127 |
+
| **P3_sens** | Sensitivity sweeps | 80 (all pools) | 42 | AEFS only | 173 | ~0.15 MiB |
|
| 128 |
+
| **P4_abl** | Component ablation | 80 (all pools) | 42 | noRUP, noSFS, noSHAP | 498 | ~4 MiB |
|
| 129 |
+
| **P5_cpdp** | CPDP-specific baselines | 80 (all pools) | 42 | MI_DS, MI_TW | 572 | ~2.96 MiB |
|
| 130 |
+
| **P6_ms4** | Multi-seed baselines (AEEEM, NASA, ReLink) | 48 folds | 7, 123, 555, 2024 | Baselines | 340 | ~5.88 MiB |
|
| 131 |
+
| **P7_ms4** | Multi-seed baselines (TeraPromise) | 272 folds | 7, 123, 555, 2024 | Baselines | 1,918 | ~20.38 MiB |
|
| 132 |
+
| **Root + status** | manifest, watchdog | — | — | — | 4 | ~0.07 MiB |
|
| 133 |
+
| **Total** | | | | | **9,327** | **~6.63 GiB** |
|
| 134 |
+
|
| 135 |
+
---
|
| 136 |
+
|
| 137 |
+
## Per-Fold File Reference
|
| 138 |
+
|
| 139 |
+
| File | Description | Present in Phases |
|
| 140 |
+
|------|-------------|-------------------|
|
| 141 |
+
| `metrics.csv` | Per-(method, model, seed): MCC, F1, AUC-ROC, n_features, runtime (s) | P1, P2, P4, P5, P6, P7 |
|
| 142 |
+
| `selected_features.json` | Method → {n_features, jaccard_stability, features[]} | P1, P2, P4, P5, P6, P7 |
|
| 143 |
+
| `confusion_matrices.json` | TP, FP, TN, FN + precision, recall, MCC, F1 per (method, model, seed) | P1, P2, P4, P5, P6, P7 |
|
| 144 |
+
| `stage_trace.json` | AEFS pipeline stage-wise feature counts and wall-clock timings | P1, P2, P5, P6, P7 |
|
| 145 |
+
| `metadata.json` | Python env, numpy/pandas/sklearn/lgbm versions, row counts, config | P1, P2, P4, P5, P6, P7 |
|
| 146 |
+
| `predictions.parquet` | Instance-level: index, y_true, y_pred, y_proba per (method, model, seed) | P1, P2, P4, P5, P6, P7 |
|
| 147 |
+
| `treeshap.parquet` | Exact TreeSHAP matrix: rows=instances, cols=features (AEFS+LightGBM) | P1, P2 only |
|
| 148 |
+
| `checkpoints/AEFS_lightgbm.joblib` | Fitted scikit-learn LightGBM classifier | P1 (80 folds) |
|
| 149 |
+
| `checkpoints/AEFS_lightgbm_booster.txt` | LightGBM booster in native text format | P1 (80 folds) |
|
| 150 |
+
| `checkpoints/AEFS_random_forest.joblib` | Fitted RandomForestClassifier | P1 AEEEM, NASA, ReLink |
|
| 151 |
+
| `checkpoints/AEFS_svm.joblib` | Fitted SVC (RBF kernel) | P1 AEEEM, NASA, ReLink |
|
| 152 |
+
| `figures/diag_*.png` / `.pdf` | Per-fold confusion matrix + ROC overlay | P1 (selected folds) |
|
| 153 |
+
| `figures/shap_*.png` / `.pdf` | Per-fold TreeSHAP feature importance bar plot | P1 (selected folds) |
|
| 154 |
+
| `sensitivity.csv` | Parameter sweep results: SHAP/stability/runtime/convergence | P3 only |
|
| 155 |
+
| `FOLD_DONE.json` | Completion marker: run_nonce, data MD5, row counts | All |
|
| 156 |
+
| `TASK_DONE.json` | Task-level summary with environment info and aggregated status | All |
|
| 157 |
+
|
| 158 |
+
---
|
| 159 |
+
|
| 160 |
+
## Benchmark Datasets
|
| 161 |
+
|
| 162 |
+
The following publicly available datasets were used for evaluation. They are **not** stored in this repository.
|
| 163 |
+
|
| 164 |
+
| Dataset | Reference | Projects | Metrics | Modules |
|
| 165 |
+
|---------|-----------|----------|---------|---------|
|
| 166 |
+
| **AEEEM** | D'Ambros et al. (2012) | 5 Java systems | 61 | 5,222 |
|
| 167 |
+
| **TeraPromise / Jureczko** | Jureczko & Madeyski (2010) | 68 Java versions | 20 | 52,540 |
|
| 168 |
+
| **NASA MDP** | Shepperd et al. (2013) | 4 C systems (CM1, MW1, PC3, PC4) | 37 | 3,001 |
|
| 169 |
+
| **ReLink** | Wu et al. (2011) | 3 systems (Apache, Safe, ZXing) | 26 | 604 |
|
| 170 |
+
|
| 171 |
+
Access via the [PROMISE Software Engineering Repository](http://promise.site.uottawa.ca/SERepository/) and the [AEEEM dataset page](https://github.com/logpai/loghub).
|
| 172 |
+
|
| 173 |
+
---
|
| 174 |
+
|
| 175 |
+
## Execution Environment
|
| 176 |
+
|
| 177 |
+
Artifacts in this repository were generated by the **canonical 16-worker Kaggle CPU fleet** using the following pinned environment (verified against all 526 `metadata.json` files):
|
| 178 |
+
|
| 179 |
+
| Component | Version |
|
| 180 |
+
|-----------|---------|
|
| 181 |
+
| Python | 3.13.18 (Kaggle kernel, pinned) |
|
| 182 |
+
| numpy | 2.5.1 |
|
| 183 |
+
| pandas | 3.0.5 |
|
| 184 |
+
| scipy | 1.18.1 |
|
| 185 |
+
| scikit-learn | 1.9.0 |
|
| 186 |
+
| LightGBM | 4.7.0 |
|
| 187 |
+
| imbalanced-learn | 0.14.2 |
|
| 188 |
+
| huggingface_hub | ≥ 0.25.0 |
|
| 189 |
+
| TreeSHAP backend | `shap.TreeExplainer` (exact, `pred_contrib=True`) |
|
| 190 |
+
|
| 191 |
+
**Hardware:** Kaggle CPU instances — Ubuntu 22.04 LTS, 4 vCPUs (Intel Xeon @ 2.30 GHz), 16 GB RAM
|
| 192 |
+
**Execution date:** 2026-11-25 (UTC: 09:21–16:53)
|
| 193 |
+
**Random states:** `RANDOM_STATE=42` (P1, P3, P4, P5); seeds {7, 42, 123, 555, 2024} (P2, P6, P7)
|
| 194 |
+
|
| 195 |
+
> **Note on cross-platform reproducibility:** The manuscript (Section 4.5) documents the local reference environment (Python 3.10.12, scikit-learn 1.5.2, LightGBM 4.5.0, SHAP 0.46.0 on Ubuntu 22.04 LTS). Cross-platform replication between the local reference environment and the Kaggle execution environment yielded metric variances within **0.001** across all folds. See [`docs/ENVIRONMENT.md`](https://github.com/MIHMahmudEli/aefs/blob/main/docs/ENVIRONMENT.md) in the GitHub repository for full details.
|
| 196 |
+
|
| 197 |
+
---
|
| 198 |
+
|
| 199 |
+
## Key Empirical Results (Verified from P1_main)
|
| 200 |
+
|
| 201 |
+
The following mean results for AEFS with LightGBM are verified directly from the `metrics.csv` files in this repository (P1_main, seed=42):
|
| 202 |
+
|
| 203 |
+
| Pool | Avg. Features Selected | Jaccard Stability | MCC | F1 | AUC-ROC |
|
| 204 |
+
|------|------------------------|-------------------|-----|----|---------|
|
| 205 |
+
| AEEEM | 6.60 ± 1.5 | 0.770 | 0.303 | 0.364 | 0.706 |
|
| 206 |
+
| TeraPromise | 5.00 ± 0.0 | 0.767 | 0.171 | 0.266 | 0.683 |
|
| 207 |
+
| NASA MDP | 8.00 ± 2.4 | 0.694 | 0.005 | 0.074 | 0.631 |
|
| 208 |
+
| ReLink | 5.67 ± 0.6 | 0.778 | 0.228 | 0.491 | 0.645 |
|
| 209 |
+
|
| 210 |
+
**Feature compression:** 75.0–89.2% reduction from original feature space across all benchmark suites.
|
| 211 |
+
**Runtime:** 4.09–64.76 s/fold for offline AEFS selection; LightGBM inference speedup 1.43×–3.89× over full-feature baselines.
|
| 212 |
+
|
| 213 |
+
---
|
| 214 |
+
|
| 215 |
+
## How to Access This Repository
|
| 216 |
+
|
| 217 |
+
### Download lightweight analytical files only (~68 MB)
|
| 218 |
+
|
| 219 |
+
```python
|
| 220 |
+
from huggingface_hub import snapshot_download
|
| 221 |
+
|
| 222 |
+
snap_path = snapshot_download(
|
| 223 |
+
repo_id="MohsinElis/AEFS_Checkpoints",
|
| 224 |
+
repo_type="dataset",
|
| 225 |
+
allow_patterns=[
|
| 226 |
+
"manifest.json",
|
| 227 |
+
"runs/**/metrics.csv",
|
| 228 |
+
"runs/**/selected_features.json",
|
| 229 |
+
"runs/**/stage_trace.json",
|
| 230 |
+
"runs/**/confusion_matrices.json",
|
| 231 |
+
"runs/**/sensitivity.csv",
|
| 232 |
+
"runs/**/predictions.parquet",
|
| 233 |
+
"runs/**/treeshap.parquet",
|
| 234 |
+
],
|
| 235 |
+
)
|
| 236 |
+
print(f"Downloaded to: {snap_path}")
|
| 237 |
+
```
|
| 238 |
+
|
| 239 |
+
### Download full repository (including model checkpoints and figures, ~6.6 GiB)
|
| 240 |
+
|
| 241 |
+
```python
|
| 242 |
+
from huggingface_hub import snapshot_download
|
| 243 |
+
|
| 244 |
+
snap_path = snapshot_download(
|
| 245 |
+
repo_id="MohsinElis/AEFS_Checkpoints",
|
| 246 |
+
repo_type="dataset",
|
| 247 |
+
)
|
| 248 |
+
print(f"Downloaded to: {snap_path}")
|
| 249 |
+
```
|
| 250 |
+
|
| 251 |
+
### Programmatic access to individual files
|
| 252 |
+
|
| 253 |
+
```python
|
| 254 |
+
from huggingface_hub import hf_hub_download
|
| 255 |
+
import pandas as pd
|
| 256 |
+
|
| 257 |
+
# Example: load metrics for a specific fold
|
| 258 |
+
metrics_path = hf_hub_download(
|
| 259 |
+
repo_id="MohsinElis/AEFS_Checkpoints",
|
| 260 |
+
repo_type="dataset",
|
| 261 |
+
filename="runs/P1_main_aeeem/aeeem/EQ/seed_42/metrics.csv",
|
| 262 |
+
)
|
| 263 |
+
df = pd.read_csv(metrics_path)
|
| 264 |
+
print(df)
|
| 265 |
+
```
|
| 266 |
+
|
| 267 |
+
---
|
| 268 |
+
|
| 269 |
+
## Reproducing Results with the GitHub Repository
|
| 270 |
+
|
| 271 |
+
```bash
|
| 272 |
+
# 1. Clone the code repository
|
| 273 |
+
git clone https://github.com/MIHMahmudEli/aefs.git
|
| 274 |
+
cd aefs
|
| 275 |
+
|
| 276 |
+
# 2. Install dependencies
|
| 277 |
+
pip install -r requirements.txt
|
| 278 |
+
|
| 279 |
+
# 3. Download and aggregate HF artifacts locally
|
| 280 |
+
python scripts/hf_aggregate_metrics.py
|
| 281 |
+
|
| 282 |
+
# 4. Verify statistical tables against the manuscript
|
| 283 |
+
python scripts/analyses.py
|
| 284 |
+
|
| 285 |
+
# 5. Reproduce all publication figures
|
| 286 |
+
python scripts/reproduce_all_figures.py
|
| 287 |
+
```
|
| 288 |
+
|
| 289 |
+
For full reproducibility documentation, see [`docs/ENVIRONMENT.md`](https://github.com/MIHMahmudEli/aefs/blob/main/docs/ENVIRONMENT.md) and [`docs/REPRODUCIBILITY.md`](https://github.com/MIHMahmudEli/aefs/blob/main/docs/REPRODUCIBILITY.md) in the GitHub repository.
|
| 290 |
+
|
| 291 |
+
---
|
| 292 |
+
|
| 293 |
+
## Citation
|
| 294 |
+
|
| 295 |
+
If you use these artifacts in your research, please cite the manuscript:
|
| 296 |
+
|
| 297 |
+
```bibtex
|
| 298 |
+
@software{hossain2026aefs,
|
| 299 |
+
title = {{AEFS}: An Adaptive Explainable Feature Selection Framework
|
| 300 |
+
for Cross-Project Software Defect Prediction — Canonical
|
| 301 |
+
Cloud Execution Checkpoints \& Artifacts},
|
| 302 |
+
author = {Hossain, Mohsin Ibna and
|
| 303 |
+
Jenny, Tasnim Bari and
|
| 304 |
+
Shornaly, Afroja Hoque and
|
| 305 |
+
Mazumder, Md. Khairul Alam and
|
| 306 |
+
Baul, Saikat and
|
| 307 |
+
Islam, Md Rakibul and
|
| 308 |
+
Mridha, Muhammad Firoz},
|
| 309 |
+
year = {2026},
|
| 310 |
+
url = {https://huggingface.co/datasets/MohsinElis/AEFS_Checkpoints},
|
| 311 |
+
license = {MIT}
|
| 312 |
+
}
|
| 313 |
+
```
|
| 314 |
+
|
| 315 |
+
---
|
| 316 |
+
|
| 317 |
+
## License
|
| 318 |
+
|
| 319 |
+
This repository is released under the **MIT License**.
|
| 320 |
+
|
| 321 |
+
Copyright (c) 2026 Mohsin Ibna Hossain, Tasnim Bari Jenny, Afroja Hoque Shornaly, Md. Khairul Alam Mazumder, Saikat Baul, Md Rakibul Islam, Muhammad Firoz Mridha.
|
| 322 |
+
|
| 323 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy of these artifacts and associated documentation to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies, subject to the conditions of the MIT License included in the accompanying [GitHub repository](https://github.com/MIHMahmudEli/aefs/blob/main/LICENSE).
|
| 324 |
+
|
| 325 |
+
---
|
| 326 |
+
|
| 327 |
+
## Contact
|
| 328 |
+
|
| 329 |
+
For questions about this dataset or the AEFS framework, please open an issue in the [GitHub repository](https://github.com/MIHMahmudEli/aefs/issues).
|