Giter VIP home page Giter VIP logo

fruad-detection-ml-pipeline's Introduction

ML Infra - Credit Card Fraud Detection

Introduction

The Credit Card Fraud Detection project is a machine learning-based solution that aims to identify fraudulent credit card transactions from a dataset of credit card transactions. It utilizes Apache Spark and a Random Forest classification model to predict whether a transaction is fraudulent or not. It uses Flyte for orchestrating the machine learning workflow and Flask for serving the model as a REST API.

Features

  • Efficiently detects fraudulent credit card transactions.
  • Utilizes Apache Spark for distributed data processing.
  • Easy-to-use REST API for making real-time predictions.
  • Supports batch prediction for multiple transactions.

Technologies

  • Python
  • Apache Spark
  • Flyte
  • PySpark
  • Flask
  • Pandas
  • Scikit-learn

Getting Started

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Python 3.7 or higher installed
  • Java 8 or higher installed (for Apache Spark)

Model Stats

Model Accuracy: 0.9958040104826124                                              
Model Precision: 0.9956810532257646
Model Recall: 0.9958040104826125
Model F1-Score: 0.9945218711604894

Installation

  1. Clone this repository:

    git clone https://github.com/your-username/credit-card-fraud-detection.git
  2. Install the required Python packages:

    pip install -r requirements.txt
  3. Run the application:

    python workflow.py

fruad-detection-ml-pipeline's People

Contributors

aghilann avatar

Watchers

 avatar

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.