How bhupesh-debug/ml-finance-anomaly works
This is an ERP financial-integrity monitor for auditors: transaction data is validated and transformed into features, analyzed for anomalies and segregation-of-duties conflicts, then surfaced for review. The README documents three modeling approaches, model evaluation, a REST prediction endpoint, and a Streamlit dashboard. Paths and capabilities below come from the README’s project structure; source implementations were not sampled. Accordingly, documented command-line data/model relationships are shown, while undocumented runtime wiring between the API, dashboard, and models is omitted.
Components 14
Data preparation
- ERP transactions
- Synthetic transactions
- Data pipeline
- Processed data
- Feature engineering
Detection and evaluation
- Isolation Forest
- XGBoost + SHAP
- Autoencoder
- SoD conflict graph
- Model evaluation
- Serialized model
Auditor tools
- Prediction API
- Auditor dashboard
Other components
- Auditor
Connections 16
- ERP transactions → Data pipeline: ingested by
README.md - Synthetic transactions → Data pipeline: generated by
README.md - Data pipeline → Processed data: writes data
README.md - Processed data → Isolation Forest: model input
README.md - Processed data → XGBoost + SHAP: model input
README.md - Processed data → Feature engineering: transformed by
- Feature engineering → Isolation Forest: feeds
- Feature engineering → XGBoost + SHAP: feeds
- Processed data → Autoencoder: analyzed by
- Processed data → SoD conflict graph: checked for conflicts
- Isolation Forest → Model evaluation: evaluated by
- XGBoost + SHAP → Model evaluation: evaluated by
- Autoencoder → Model evaluation: evaluated by
- XGBoost + SHAP → Serialized model: may be serialized as
- Auditor → Auditor dashboard: reviews flags
README.md - Auditor → Prediction API: submits prediction
README.md