How devanshgoel0622-rgb/payguard-ai works
PayGuard AI is an academic prototype for detecting payment fraud and gateway degradation, with a Streamlit dashboard as its user-facing result. Its documented workflow combines anomaly screening and temporal validation, then presents alerts with severity and explanations; the current dashboard also replays temperature-failure scenarios. The repository contains notebooks for EDA, baselines, the autoencoder, hybrid modeling, and explainability, plus scripts that prepare dashboard assets and scenarios. The excerpts show dashboard and preparation behavior, but not notebook implementations or every dashboard loading step.
Main entry points: app.py Streamlit Dashboard · week2_eda_creditcard.ipynb Fraud Data Prep · week3_baselines.ipynb Baseline Evaluation · week4_lstm_autoencoder.ipynb LSTM Autoencoder
Components 14
Modeling & Detection
- Bank EDA
week1_eda_bank.ipynb - Fraud Data Prep
week2_eda_creditcard.ipynb - Baseline Evaluation
week3_baselines.ipynb - LSTM Autoencoder
week4_lstm_autoencoder.ipynb - Hybrid Detection
week5_hybrid_model.ipynb - Explainability Analysis
week6_explainability.ipynb
Dashboard & Triage
- Streamlit Dashboard
dashboard/app.py - Live Monitor
dashboard/app.py - Alert Feed
dashboard/app.py - Explainability View
dashboard/app.py - Performance View
dashboard/app.py
Asset Preparation
- Dashboard Assets
dashboard/prepare_dashboard.py - Scenario Assets
dashboard/prepare_scenarios.py
Other components
- Operator
Connections 13
- Operator → Streamlit Dashboard: uses
README.md - Streamlit Dashboard → Live Monitor: selects
dashboard/app.py - Streamlit Dashboard → Alert Feed: selects
dashboard/app.py - Streamlit Dashboard → Explainability View: selects
dashboard/app.py - Streamlit Dashboard → Performance View: selects
dashboard/app.py - Streamlit Dashboard → Dashboard Assets: loads
dashboard/app.py - Streamlit Dashboard → Scenario Assets: reads
dashboard/app.py - Dashboard Assets → Scenario Assets: loads model
dashboard/prepare_scenarios.py - Bank EDA → Fraud Data Prep: informs
README.md - Fraud Data Prep → Baseline Evaluation: prepares data
README.md - Baseline Evaluation → LSTM Autoencoder: benchmarks
README.md - LSTM Autoencoder → Hybrid Detection: screens
README.md - Hybrid Detection → Explainability Analysis: explains alerts
README.md