Skip to content

QuantumCoderrr/Credit-Card-Fraud-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Credit Card Fraud Detection 🚨💳

This project focuses on detecting fraudulent credit card transactions using machine learning techniques. It uses a dataset containing credit card transactions, where each transaction is labeled as either 'Fraud' or 'Not Fraud'. The goal is to train a model to predict fraud based on transaction features.

Table of Contents

Overview

In this project, we use a Random Forest Classifier to classify credit card transactions as fraudulent or not. The project includes steps like:

  • Data Preprocessing
  • Model Training
  • Evaluation (Confusion Matrix, Classification Report, ROC-AUC)
  • Feature Importance Analysis

Requirements 📦

The following libraries are required to run this project:

  • pandas
  • numpy
  • matplotlib
  • seaborn
  • scikit-learn

Getting Started 🚀

Prerequisites

  • Python 3.8 or higher
  • Required libraries installed (pip install -r requirements.txt)

Installation

  1. Clone the repository:
    git clone https://github.com/QuantumCoderrr/CreditCardFraudDetection.git
    cd CreditCardFraudDetection
  2. Install dependencies:
    pip install -r requirements.txt
    

Results 📊

Below are the visuals showing the Confusion Matrix and Feature Importance.

Confusion Matrix

The confusion matrix visualizes the performance of the classification model, showing the true positives, true negatives, false positives, and false negatives.

Confusion Matrix

Feature Importance

Feature importance indicates the relative importance of each feature in the model's decision-making process. Higher values indicate features that play a greater role in determining the prediction.

Feature Importance

Dataset 📂

The dataset used for this project can be accessed via the following Google Drive link:
Credit Card Fraud Detection Dataset

Contributing 🤝

We welcome contributions! Please follow the contributing guidelines to submit changes.

License 📝

This project is licensed under the MIT License - see the LICENSE file for details.


Thanks for checking out the project! Let's work together to make fraud detection more efficient! 🚀

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published