Coder Social home page Coder Social logo

identifying-fraudulent-electronic-transactions's Introduction

Problem Statement:

Electronic fraudulent issue is gaining more and more attention nowadays due to an increasing popularity in digital and online purchases. It is important that financial institutions including banking and credit unions, are able to recognize or be aware of potential fraudulent electronic transactions early in time so that customers are not charged for items that they did not purchase and the financial institutions do not suffer financial loss or further threat from fraudulent activities.

In this project, data cleaning, exploratory data analysis, feature engineering have been performed to modify the datasets (over 6 million transactions). Potential statistical correlations between different features and fraud transaction occurence have been assessed and and the distribution patterns and trends of each feature have been explored. Five different machine learning algorithms have been tested on the newly created features for detecting fraudulent transactions.

Approach:

EDA, Data cleaning, Feature Engineering and Machine Learning (LogisticRegressionCV, Gradient Boosting Classifier, Random Forest Classifier, Decision Tree and K Neighbors Classifier) to predict fraudulent transactions.

Conclusions:

Feature engineering greatly improved ML performances: random forest model gives close to 100% prediction accuracy, with ROC score close to 1, 100% ture negative rate, 0 false positive rate, 0.5% false negative rate and 99.5% true positive rate.

Code:

https://nbviewer.jupyter.org/github/huanxia1/Identifying-Fraudulent-Electronic-Transactions/blob/master/Detection_of_fraud_electronic_transactions.ipynb

Report:

https://docs.google.com/document/d/1E_j4lqPSBuZ7FzIET_a3KYzwXIv4Ag9GSFCXyAA1r4A/edit?usp=sharing

Slides:

https://docs.google.com/presentation/d/1mxxnOYfiOCMtyg0DMBiZfGW6sav5J9W6Kglnit4ghnQ/edit?usp=sharing

identifying-fraudulent-electronic-transactions's People

Contributors

huanxia1 avatar

Forkers

avjdataminer

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.