Code Monkey home page Code Monkey logo

gautam132002 / fraud-credit-card-transaction-detection Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 358 KB

Machine learning model for credit card fraud detection, which is a binary classification task. The model's primary goal is to classify transactions into one of two classes: "fraudulent" or "legitimate," using the provided dataset.

Jupyter Notebook 100.00%
credit-card-fraud-detection fraud-detection fraud-transactions logestic-regression machine-learning python

fraud-credit-card-transaction-detection's Introduction

Credit Card Fraud Detection with Logistic Regression

This repository presents a machine learning model for credit card fraud detection, specifically utilizing Logistic Regression, with the provided dataset.

Dataset

The dataset used for this project can be found at the following URL: Credit Card Fraud Detection Dataset.

Colab Notebook

For a detailed implementation and analysis of the credit card fraud detection model using Logistic Regression, please refer to the Colab notebook available here: Colab Notebook.

Selected Columns

We have chosen the following columns from the dataset for our analysis:

  • "amt"
  • "category"
  • "gender"
  • "city_pop"
  • "cc_num"
  • "job"
  • "unix_time"
  • "merch_lat"
  • "merch_long"
  • "is_fraud"

Categorical Columns

The following columns are treated as categorical variables in our analysis:

  • "category"
  • "gender"
  • "job"

Logistic Regression

Logistic Regression is the machine learning algorithm used for this credit card fraud detection model. It's a binary classification algorithm well-suited for fraud detection tasks, where the goal is to classify transactions as either fraudulent or legitimate.

Model Accuracy

Our machine learning model, based on Logistic Regression, achieved an accuracy of 84% in detecting credit card fraud.

Please feel free to explore, modify, and adapt this project for your own credit card fraud detection tasks.

fraud-credit-card-transaction-detection's People

Contributors

gautam132002 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.