Giter VIP home page Giter VIP logo

credit-fraud-detection's Introduction

Credit-Fraud-Detection

The Credit Card Fraud Detection Dataset in Kaggle could be amongst the most complex Dataset available. One, owing to the fact that the class has an imbalance ratio between the fraudlent transactions which are only 0.172% of all the trasnactions and the transaction classfied as Valid. Out of 284,807 transactions only 492 transactions are flagged as fraudulent.

In this notebook I have used two algotrithm to solve this classification Problem in orderto perform anomaly detection on the Dataset:

  1. Isolation Forest Algorithm
  2. Local Outlier Factor Algorithm

In the notebook, I have only used 10% as the sample dataset, reason for this is that, the whole dataset would require high processing capability and also require more time to generate results. The Support Vector Machine (SVM) Algorithm would also be ideal for this problem, however, it would taks a considerable amount if time to compute the outliers, especially given the enormorse size of the Dataset.

To improve the results, one would also increase the sample size from maybe 10% used here to say 30%, that would improve the prediction results.

As it is,the Isolation Forest Algorithm has outperformed the Local Outlier Factor Algorithm, given that the latter has a precision rate of 0.02%, while,IFA has a precision rate of 0.28%.

credit-fraud-detection's People

Contributors

ochiengfrancis avatar

Stargazers

 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.