AE-SVM: An Adaptive Support Vector Machine Approach for Explainable Anomaly Detection in IoT Networks
Author: Erenso Hundessa Muleta, Department of Computer Science, Addis Ababa University, Ethiopia
Contact: erensohundessa735@gmail.com

CONTENTS
  AE-SVM_manuscript_final.docx   the manuscript (Word, Times New Roman 12 pt)
  manuscript_source.md           the same manuscript as text (tables already filled in)
  ms_part1.md, ms_part2.md, ms_part3.md   manuscript source with {{table}} placeholders
  aesvm.py            the AE-SVM model (adaptive kernel width, class costs, budgeted prototypes, explanations)
  sim_iot.py          simulator of IoT traffic with drift, class imbalance and an unseen attack
  run_experiments.py  runs drift/stationary protocols, ablations, baselines, budget sweep, timing, explanations
  final_analysis.py   pools the ten seeds, computes statistics, writes tables and figures
  build_docx.py       assembles the Word manuscript from the tables and text
  make_results.py     generic results-section generator for real datasets (reads run_experiments output)
  dev_tune.py         the development-seed diagnosis of the budget rule (seeds 100, 101)
  final_a/, final_b/  raw results, seeds 200-204 and 205-209
  quiet/              single-seed run without parallel load (latency and size)
  analysis_out/       pooled tables, per-window F1, significance, ablation, attack recall
  figures/            Figure 1 (F1 per window) and Figure 2 (budget sweep)

REPRODUCE THE REPORTED RESULTS (about 50 minutes on 2 CPU cores)
  pip install -r requirements.txt
  python run_experiments.py --sim --seed-start 200 --seeds 5 --windows 12 --win-size 2500 --budget 1000 --out final_a
  python run_experiments.py --sim --seed-start 205 --seeds 5 --windows 12 --win-size 2500 --budget 1000 --out final_b
  python run_experiments.py --sim --seed-start 200 --seeds 1 --no-stationary --windows 12 --win-size 2500 --budget 1000 --out quiet   (run alone, no other job)
  python final_analysis.py        # tables and figures
  python build_docx.py            # needs pandoc installed

REPEAT ON A REAL DATASET (chronological CSV with a label column)
  python run_experiments.py --csv data.csv --label-col label --benign normal --drop src_ip dst_ip ts --windows 12 --max-rows 120000 --seeds 10 --budget 1000 --out results_real
  python make_results.py --run "Dataset name=results_real" --out results_section.md

NOT DONE (be honest in the paper): public datasets (UNSW-NB15, ToN-IoT, Edge-IIoTset, CIC-IoT-2023),
Raspberry Pi 4 / Jetson Nano, peak memory and energy, autoencoder / Hoeffding tree / SHAP / LIME comparisons.
Reference list was written from memory: verify every entry and add DOIs. JISA is an Elsevier journal.
