Credit-Card-Fraud-Detection

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:

Requirements πŸ“¦

The following libraries are required to run this project:

Getting Started πŸš€

Prerequisites

Installation

  1. Clone the repository: ```bash git clone https://github.com/QuantumCoderrr/CreditCardFraudDetection.git cd CreditCardFraudDetection
  2. Install dependencies: ```bash 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! πŸš€