How manohar4464/financial-anomaly-detection-qml works
This repository implements a transaction-anomaly detection experiment and interactive prediction dashboard in one Python module. The principal workflow loads and engineers transaction features, splits labeled data, trains a quantum-kernel classifier, tunes an anomaly threshold, evaluates it against a Random Forest baseline, and launches a Dash interface for predictions. The graph separates those domain stages while keeping the main-script orchestration explicit. The available source shows these runtime relationships; the README is empty, and the other listed documentation files were not sampled.
Main entry points: code.py Experiment runner
Components 11
Data preparation
- Feature preprocessing
qml/code.py - Train validation test split
qml/code.py
Modeling
- Quantum QSVC
qml/code.py - Random Forest baseline
qml/code.py
Evaluation
- Experiment runner
qml/code.py - Threshold tuning
qml/code.py - Model evaluation
qml/code.py - Evaluation plots
qml/code.py
Prediction dashboard
- Dash prediction app
qml/code.py
Other components
- Transaction data
- Dashboard user
Connections 13
- Transaction data → Feature preprocessing: loads and engineers
qml/code.py - Experiment runner → Feature preprocessing: calls
qml/code.py - Experiment runner → Train validation test split: splits features
qml/code.py - Experiment runner → Quantum QSVC: trains
qml/code.py - Experiment runner → Threshold tuning: tunes on validation
qml/code.py - Experiment runner → Model evaluation: evaluates
qml/code.py - Experiment runner → Evaluation plots: plots results
qml/code.py - Experiment runner → Random Forest baseline: trains baseline
qml/code.py - Experiment runner → Dash prediction app: launches
qml/code.py - Dashboard user → Dash prediction app: enters features
qml/code.py - Dash prediction app → Feature preprocessing: transforms input
qml/code.py - Dash prediction app → Quantum QSVC: scores input
qml/code.py - Dash prediction app → Threshold tuning: classifies score
qml/code.py