Logo Lanfrica

Code-str8/customer-frauds-detection

Domain:

digital infrastructure

Record type:

project
Creator:
Cod
Host:
fraud detection challenge for STEG (Tunisian Company of Electricity and Gas) focused on identifying fraudulent meter manipulation through billing history data # Customer Frauds Detection ๐Ÿ”โšก This project addresses a fraud detection challenge for STEG (Tunisian Company of Electricity and Gas), focusing on identifying fraudulent meter manipulation through billing history data. ## ๐Ÿ“‹ Table of Contents - Introduction - Dataset - Installation - Usage - Streamlit App - API Usage - Model Training - API Documentation - Methodology - Results - Challenges & Trade-offs - Future Work - Contributing - License ## ๐Ÿš€ Introduction The goal of this project is to develop a machine learning model that can accurately detect fraudulent activities in electricity and gas consumption. By analyzing historical billing data, the model aims to help STEG reduce losses due to fraud. ## ๐Ÿ’พ Dataset The dataset consists of historical billing data, including features such as client ID, invoice date, consumption levels, and counter types. The target variable indicates whether a client is fraudulent or not. ## ๐Ÿ› ๏ธ Installation To run this project, you need to have Python installed along with the required libraries. You can install the dependencies using the following command: ```bash pip install -r requirements.txt ``` ## ๐Ÿš€ Usage ### ๐Ÿ’ซ Streamlit App We've developed an interactive Streamlit application that provides a user-friendly interface for fraud detection: 1. Start the Streamlit app: ```bash streamlit run 1_Welcome.py ``` 2. Login credentials: - Username: admin - Password: Admin01 The app includes several features: #### ๐Ÿ  Welcome Page A welcoming interface introducing the fraud detection system. #### ๐Ÿ“š Data Explorer Explore and analyze the dataset with interactive visualizations. #### ๐Ÿ”ฎ Prediction Interface Easy-to-use form for making fraud predictions: - Input transaction details - Choose between models - Get instant predictions Detailed prediction results with confidence scores. #### โณ History Tracking Track and analyze prediction history: - View all past predictions - Analyze trends - Export results ### ๐Ÿ”„ API Usage 1. โ€ฆ