Skip to content

Releases

FraudGuard AI v1.0.0

Choose a tag to compare

@scientistayat-engineer scientistayat-engineer released this 12 Nov 13:03
6b9a805

🛡️ FraudGuard AI v1.0.0

First release of FraudGuard AI: an end-to-end system that detects credit-card fraud and writes an AI investigation report for every case (ML → FastAPI → LangGraph → dashboard).

✨ Highlights

  • 🌲 Random Forest trained on the Kaggle Credit Card Fraud dataset (283,726 rows after cleaning, only 0.17% fraud). On 56,746 unseen transactions: precision 0.897 · recall 0.737 · F1 0.809 · ROC-AUC 0.962 · PR-AUC 0.791
  • 🧠 LangGraph agent: SHAP explanation → Low / Medium / High risk score → Groq LLM investigation report → Approve / Hold for Review / Block → High-risk cases escalated to a human analyst
  • ⚡ FastAPI backend with interactive Swagger docs (/docs)
  • 🖥️ Dashboard in plain HTML, CSS and JavaScript: transaction form, prediction result, AI report, risk gauge, Approve / Block buttons and an analytics dashboard
  • 🎁 All 5 bonus features: Explainable AI, PDF report, email alerts, dark mode, admin authentication

➕ Extra features

Ask AI chat · case notes + audit log · live transaction stream · what-if simulator · batch CSV scoring · risk heatmap · model performance page · optional Firebase login with Admin / Analyst roles and Firestore storage

🚀 Quick start

git clone https://github.com/scientistayat-engineer/fraudguard-ai.git
cd fraudguard-ai/backend
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
copy .env.example .env
uvicorn app.main:app --reload

Then open frontend/login.html with VS Code Live Server. Demo login: admin@fraudguard.ai / admin123.

🧪 Quality

6 automated tests (pytest) and GitHub Actions CI.

📚 Documentation

Built by Anushay Ayat (AI & Data Science, SMIT).

FraudGuard-AI-Report.docx
FraudGuard-AI-Report.pdf
FraudGuard-AI.pdf