Giter Club home page Giter Club logo

credit-card-fraud-detection's Introduction

Credit Card Fraud Detection Using Custom Models

Introduction

This project, Anti-Scamming Predictor, aims to detect credit card fraud using custom machine learning models. It provides a Streamlit-based GUI for easy interaction with the predictive models.

Prerequisites

Before setting up the project, ensure you have Anaconda installed on your system. You can download it from Anaconda's website. (https://www.anaconda.com/download)

Data File Preparation

The project uses a dataset named creditcard.csv which is essential for the fraud detection models. This dataset can be obtained in two ways:

  • Using Provided Zip File:
    • Locate the creditcard.csv.zip file in the project directory.
    • Unzip this file to extract the creditcard.csv file.
    • Ensure that the extracted CSV file is in the same directory as your project files for easy access by the application.
  • Downloading from Kaggle:

Setting Up the Conda Virtual Environment

Follow these steps to set up the conda environment:

  • conda create --name myenv
  • conda activate myenv
  • conda install pip
  • pip install -r requirements.txt
  • streamlit run Group4_GUI.py

Verification of Setup

After installation, you can verify the setup by running 'conda list' in your environment to check if all required packages are installed.

Usage Instructions

Once the environment is set up and the application is running, navigate to the local URL provided by Streamlit in your browser to interact with the application.

Example Input transaction

  • 0.0,134.0,0.0,123.0,0.0,0.0,0.0,0.0,0.0,-50.0,132.0,-5.0,0.0,-6.0,0.0,0.0,-7.0,0.0,335.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,3333.03
  • -1.359807134,-0.072781173,2.536346738,1.378155224,-0.33832077,0.462387778,0.239598554,0.098697901,0.36378697,0.090794172,-0.551599533,-0.617800856,-0.991389847,-0.311169354,1.468176972,-0.470400525,0.207971242,0.02579058,0.40399296,0.251412098,-0.018306778,0.277837576,-0.11047391,0.066928075,0.128539358,-0.189114844,0.133558377,-0.021053053,149.62

credit-card-fraud-detection's People

Contributors

sshivpatell avatar jamesnorum avatar fazilraja avatar

Watchers

Kostas Georgiou avatar  avatar

Forkers

jamesnorum

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.