Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -12,3 +12,25 @@ short_description: 'Fraud detection system that detect fraud and explain it '
|
|
| 12 |
---
|
| 13 |
|
| 14 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 15 |
+
# GuardianAI: Fraud Detection & Explainability
|
| 16 |
+
|
| 17 |
+
This project uses a **Random Forest Classifier** to detect fraudulent transactions and **Google Gemini** to provide natural language explanations for the flags.
|
| 18 |
+
|
| 19 |
+
### How to Setup:
|
| 20 |
+
1. Create a Space on Hugging Face (Gradio).
|
| 21 |
+
2. Upload all files.
|
| 22 |
+
3. **API Key:** Go to Settings -> Variables and Secrets -> Add a secret named `GEMINI_API_KEY` with your key from Google AI Studio.
|
| 23 |
+
4. Run `main.py` locally once to generate the `.joblib` file, or include it in your upload.
|
| 24 |
+
|
| 25 |
+
### Features:
|
| 26 |
+
- Real-time risk scoring.
|
| 27 |
+
- GenAI-powered explanation for transparency (Explainable AI).
|
| 28 |
+
- MIT Licensed.
|
| 29 |
+
# GuardianAI v2: Velocity Attack Monitor
|
| 30 |
+
|
| 31 |
+
A fraud detection prototype for 2026 that detects **high-frequency attacks**.
|
| 32 |
+
|
| 33 |
+
### New Features:
|
| 34 |
+
- **Velocity Tracking:** Detects "Card Testing" or "Bot Attacks" where many transactions occur in a short window.
|
| 35 |
+
- **Explainable AI:** Uses **Gemini 2.5 Flash** to provide human-readable reasons for why a card was blocked.
|
| 36 |
+
|