|
Download README.md from DuckerMaster/Fraud-Detection-Multi-Model: direct link, hf CLI and curl.
- Browser
- Download file 1.28 kB
-
https://huggingface.co/spaces/DuckerMaster/Fraud-Detection-Multi-Model/resolve/main/README.md
- Command line
-
hf download hf://spaces/DuckerMaster/Fraud-Detection-Multi-Model/README.md
-
curl -L -o README.md https://huggingface.co/spaces/DuckerMaster/Fraud-Detection-Multi-Model/resolve/main/README.md
1.28 kB
A newer version of the Streamlit SDK is available: 1.65.0
metadata
title: Fraud Detection Multi-Model
emoji: π‘οΈ
colorFrom: red
colorTo: blue
sdk: streamlit
sdk_version: 1.57.0
app_file: app.py
pinned: true
suggested_hardware: cpu-basic
python_version: 3.11
Fraud Detection β Multi-Model Live Monitor
Real-time transaction fraud detection using a 3-layer ensemble pipeline.
Architecture
Transaction
β
βΌ
Layer 1 β Hard Rules
β Rule 1: Accessibility + Remote App β Block immediately
β Rule 2: Hesitation > 45s + New recipient β bias score β₯ 0.6
β
βΌ
Layer 2 β Ensemble Scoring
β Model A (Sender Behavioral): LightGBM / XGBoost
β Model B (Payee Risk Profile): LightGBM
β final_score = 0.3 Γ prob_a + 0.7 Γ prob_b
β
βΌ
Layer 3 β Threshold Decision
score β₯ 0.80 β Block
score β₯ 0.50 β Alert + OTP
score < 0.50 β Pass
Files required
| File | Purpose |
|---|---|
model_a_pipeline.joblib |
Sender behavioral model |
model_b_pipeline.joblib |
Payee risk profile model |
config.json |
Feature list, weights, thresholds |
payee_profile_store.csv |
Historical payee lookup table |