Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

PaySafe India — Real-Time UPI Fraud Detection with Open-Source ML (No Cloud Required)

说明与用途

PaySafe India 使用完全本地、开源的机器学习堆栈实现实时 UPI 欺诈检测,提供精确的风险评分和反事实解释,无需将数据发送到云端。

问题

Detect fraudulent UPI transactions in real time without relying on cloud services or external APIs, ensuring data stays local and costs are minimal.

结果

Random Forest model achieved 0.983 precision, 0.879 recall, 0.928 F1, and 0.969 ROC‑AUC on a held‑out test set of 5,279 transactions, outperforming other classifiers and a dummy baseline.

工作流

  • Select and audit dataset for leakage
  • Clean and engineer behavioral features
  • Apply K‑Means clustering for anomaly pre‑check
  • Train four supervised classifiers with cross‑validation
  • Choose best model based on CV F1
  • Serialize model with joblib
  • Deploy Flask app with REST API and counterfactual explainability

证据

Random Forest (deployed ✅) 0.983 precision, 0.879 recall, 0.928 F1, 0.969 ROC‑AUC

来源

The Flask web app runs locally at http://127.0.0.1:5000 after a one‑time training run.

来源

No LLM. No cloud ML service. No API keys. Just classical ML running at full speed on a laptop.

来源

  • 记录日期: 2026-10-27T04:11:45.610Z