Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/2bweru/credit-card-fraud


https://github.com/2bweru/credit-card-fraud

Last synced: about 10 hours ago
JSON representation

Awesome Lists containing this project

README

        

Credit Card Fraud Detection

This project aims to detect fraudulent credit card transactions using machine learning algorithms.

Installation
1. Clone the repository to your local machine.
2. Install the required dependencies using pip install -r requirements.txt.
3. Download the dataset (creditcard.csv) and place it in the project directory.

Usage
1. Run the credit_code.ipynb notebook.
2. Follow the instructions in the notebook to load and preprocess the dataset.
3. Train and evaluate machine learning models to detect fraudulent transactions.
4. Analyze the results and fine-tune the models as needed.

Results

The project aims to achieve a high detection rate for fraudulent transactions while minimizing false positives.

This code snippet imports several libraries and sets up some configurations for data analysis, particularly for detecting anomalies in credit card transactions.
![g1](https://github.com/2BWeru/Credit-card-Fraud/assets/86661774/90457a74-cd02-4931-980a-117a7dda0b2a)

![g2](https://github.com/2BWeru/Credit-card-Fraud/assets/86661774/b30b5a40-c2b6-45e3-983e-05cbe22ab682)

![g2b](https://github.com/2BWeru/Credit-card-Fraud/assets/86661774/4ae3b4e5-7ccf-4e98-9fcc-33adeecae906)

![g3](https://github.com/2BWeru/Credit-card-Fraud/assets/86661774/56dbd68e-c33f-4ba9-a851-6d1364217423)

![g3b](https://github.com/2BWeru/Credit-card-Fraud/assets/86661774/0238ec6e-60b3-41d8-9077-d1e81de93ccd)

![g4](https://github.com/2BWeru/Credit-card-Fraud/assets/86661774/2a540039-dd34-4255-b5b6-213de546d824)

![g5](https://github.com/2BWeru/Credit-card-Fraud/assets/86661774/ecfbd302-e6c9-4ba0-b323-fb061f333d07)

![old](https://github.com/2BWeru/Credit-card-Fraud/assets/86661774/7e352d6d-3d94-4832-bb81-58d9ceb795aa)

![new1](https://github.com/2BWeru/Credit-card-Fraud/assets/86661774/f9af2d82-cb83-4354-b0d6-2795b0ca3b0d)

![new2](https://github.com/2BWeru/Credit-card-Fraud/assets/86661774/ee2adf44-c7b9-43df-ba7d-92c116bc5f9e)

![new3](https://github.com/2BWeru/Credit-card-Fraud/assets/86661774/f39e6948-aa1b-4b59-ab9d-7bff53f7f3c0)

![new4](https://github.com/2BWeru/Credit-card-Fraud/assets/86661774/3d99203d-ff29-42c8-8c85-3d112c557892)

![new5](https://github.com/2BWeru/Credit-card-Fraud/assets/86661774/d80d01fd-2153-43eb-9da8-fd8649c4e444)

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

![g6](https://github.com/2BWeru/Credit-card-Fraud/assets/86661774/81d36588-6c93-43b1-bbae-456953ebfd07)