Credit_Card_Fault_Detection is an open-source project designed to identify fraudulent credit card transactions. Utilizing advanced machine learning models and an intuitive web application, this project offers an effective solution for detecting anomalies and potential fraud in credit card activity.
Welcome to Credit_Card_Fault_Detection! This project helps detect potentially fraudulent credit card transactions by analyzing various transaction attributes. Whether you're a financial analyst or a security professional, this tool offers a reliable way to enhance fraud detection efforts.
Our project includes comprehensive data processing and transformation features to handle raw transaction data effectively, ensuring high-quality input for our fraud detection models.
The system utilizes sophisticated machine learning models to detect fraudulent transactions. These models are designed to identify anomalies with high accuracy.
The project includes a web-based interface for easy interaction with the fraud detection system. Users can input transaction details and receive predictions through a user-friendly web application.
- Input Form: Users can enter transaction details such as credit limit, demographic information, payment history, and bill amounts.
- Fraud Detection Prediction: The application applies a trained machine learning model to predict the likelihood of fraud.
- User-Friendly Interface: The web app features a clean and intuitive design for straightforward data entry and result viewing.
- Background Image: The app incorporates a visually appealing background to enhance the user experience.
The dataset used in the Credit Card Fault Detection project contains various attributes related to credit card transactions. This dataset is utilized to train machine learning models for detecting fraudulent activities.
LIMIT_BAL
: Credit limit of the cardholder.SEX
: Gender of the cardholder (e.g., male, female).EDUCATION
: Level of education of the cardholder (e.g., graduate, undergraduate).MARRIAGE
: Marital status of the cardholder (e.g., married, single).AGE
: Age of the cardholder.PAY_0
toPAY_6
: Payment status for the past 6 months (-1 = pay duly, 1 = payment delay for one month, 2 = payment delay for two months, etc.).BILL_AMT1
toBILL_AMT6
: Bill statement amount for the past 6 months.PAY_AMT1
toPAY_AMT6
: Amount paid in the past 6 months.default payment next month
: Indicator of whether the cardholder defaulted on payment in the next month (1 = yes, 0 = no).
Ensure you have the following prerequisites before using this project:
- Python (3.7 or higher)
- Required dependencies (install with
pip install -r requirements.txt
) - Access to a web browser π
- Front-End: HTML, CSS
- Back-End: Python (Flask framework)
- Machine Learning: Logistic Regression, Random Forest, Neural Networks
git clone https://github.com/YourUsername/Credit-Card-Fault-Detection.git
cd Credit-Card-Fault-Detection
conda create -p venv python==3.8
conda activate venv/
Open your terminal and execute the following command:
pip install -r requirements.txt
Open your terminal and execute the following command:
python application.py
- Visit the web app: http://127.0.0.1:5000/
- Enter the transaction details in the input form.
- Click the "Check for Fraud" button.
- Receive a prediction on whether the transaction is likely to be fraudulent.
Contributions are welcome! If you have suggestions for improvements, bug fixes, or new features, feel free to create a pull request or open an issue.