Logo Lanfrica

Johnpaul10j/fraudguard-africa

Domain:

socioeconomic

Record type:

software
Creator:
Joh
Host:
# πŸ›‘οΈ FraudGuard Africa **Real-time Mobile Money Fraud Detection System** FraudGuard Africa is an end-to-end machine learning system designed to detect fraudulent mobile money transactions in real-time. The project focuses on the African fintech ecosystem and is built to be practical, explainable, and production-ready. ## πŸš€ Live Demo Try the live application here: **FraudGuard Africa Live Demo** --- ## πŸ“Œ Project Overview Mobile money fraud is a growing problem across Africa. This project uses machine learning to detect suspicious transactions with high accuracy while keeping false positives under control. **Key Features:** - Real-time fraud prediction - Feature engineering tailored for mobile money transactions - FastAPI backend for production use - Modern Streamlit dashboard for easy testing - Trained on the PaySim mobile money dataset --- ## πŸ› οΈ Tech Stack - **Language:** Python - **Machine Learning:** XGBoost - **Backend:** FastAPI - **Frontend:** Streamlit - **Data Processing:** Pandas, NumPy, Scikit-learn - **Model Persistence:** Joblib --- ## πŸ“ Project Structure ```bash fraudguard-africa/ β”‚ β”œβ”€β”€ data/ # Dataset β”œβ”€β”€ models/ # Trained model files β”œβ”€β”€ notebooks/ # Exploration & training notebooks β”œβ”€β”€ src/ β”‚ β”œβ”€β”€ main.py # FastAPI application β”‚ └── dashboard.py # Streamlit dashboard β”œβ”€β”€ logs/ # Prediction logs β”œβ”€β”€ requirements.txt └── README.md ``` ## How to Run the Project ### Dataset The dataset is not included in this repository because of its size. Download the PaySim dataset from Kaggle: kaggle.com Place the CSV file inside the `data/` folder. 1. Clone the repository ```bash git clone github.com cd fraudguard-africa ``` 2. Create virtual environment ```bash python -m venv venv venv\Scripts\ac …