How saisubhiksh9854/da-xad-drift-aware-anomaly-detection works
This repository is a single-file research framework and experiment for drift-aware anomaly detection in non-stationary data streams. Its principal workflow generates a stream, compares static, periodic, and adaptive detectors, evaluates results, and writes a summary and figures. The adaptive path combines anomaly scoring with drift monitoring and retraining. The source excerpt is partial and the README is empty, so the graph omits unshown internals and figure-generation wiring; output links are included only where the excerpt shows them.
Main entry points: da_xad_framework.py Experiment entry · summary.json Run summary
Components 14
Experiment workflow
- Experiment entry
da_xad_framework.py - Stream generation
da_xad_framework.py
Detection and adaptation
- Baseline detectors
da_xad_framework.py - Adaptive detector
da_xad_framework.py - Anomaly scoring
da_xad_framework.py - Drift monitoring
da_xad_framework.py - Onset estimation
da_xad_framework.py - Adaptive retraining
da_xad_framework.py
Evaluation and outputs
- Metric evaluation
da_xad_framework.py - Rolling performance
da_xad_framework.py - Alert explanations
da_xad_framework.py - Run summary
results/summary.json - Result figures
results/figures
Other components
- CLI user
Connections 11
- CLI user → Experiment entry: runs
da_xad_framework.py - Experiment entry → Stream generation: generates
da_xad_framework.py - Experiment entry → Baseline detectors: runs comparisons
da_xad_framework.py - Experiment entry → Adaptive detector: runs proposed
da_xad_framework.py - Adaptive detector → Anomaly scoring: scores batches
da_xad_framework.py - Adaptive detector → Drift monitoring: tests drift
da_xad_framework.py - Drift monitoring → Onset estimation: estimates onset
da_xad_framework.py - Adaptive detector → Adaptive retraining: refits detector
da_xad_framework.py - Adaptive detector → Alert explanations: explains alerts
da_xad_framework.py - Experiment entry → Metric evaluation: computes metrics
da_xad_framework.py - Experiment entry → Run summary: writes summary
da_xad_framework.py