Skip to content

Lijoks/Fraud_detection

Repository files navigation

Fraud_detection

Overview

This project focuses on detecting fraudulent activities using machine learning techniques. It includes data preprocessing, feature engineering, model training, and evaluation. The goal is to build a robust system that can identify fraudulent transactions or behaviors with high accuracy.

Features

  • Data Preprocessing: Handles missing values, outliers, and categorical variables.
  • Feature Engineering: Creates meaningful features to improve model performance.
  • Model Training: Implements various machine learning algorithms (e.g., Logistic Regression, Random Forest, XGBoost).
  • Model Evaluation: Evaluates models using metrics like accuracy, precision, recall, and F1-score.
  • Deployment: Includes a script to deploy the trained model for real-time predictions.

Installation

To set up the project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/lijoks/Fraud_detection.git
  2. Navigate to the project directory: cd Fraud_detection

  3. Create a virtual environment and activate it: python -m venv fraud_detection_env source fraud_detection_env/bin/activate # On Windows, use fraud_detection_env\Scripts\activate

  4. Install the required dependencies: pip install -r requirements.txt

Dataset

The dataset used in this project is Kaggle's Credit Card Fraud Detection Dataset. It contains transactions made by credit cards in September 2013 by European cardholders. The dataset is highly imbalanced, with only 0.172% of transactions being fraudulent.

Acknowledgments

Kaggle for providing the dataset. The open-source community for libraries like scikit-learn, pandas, and numpy.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published