Ankush123456-code / Money_Laundering_Detection

Money Laundering Detection Using Machine Learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ’°πŸ’° Money Laundering Detection

alt text

πŸ’‘ Problem Statement:

To create an AI solution for Money Laundering which reduces review operation costs by lowering the number of False Positive alerts generated by current static rule based Anti Money Laundering Alert Systems.

πŸ“ Proposed Solution:

The solution proposed here is to create a Machine Learning model which is able to take the data from static rule based AML systems and further classify them as Fraud or Not Fraud to reduce the False Positives.

This solution can able to find:

  • Currently Invisible Transaction Behaviour
  • Aberrations in Transactions
  • Reduce overall review Operation Costs and False Positives of AML systems.

⏳ Data Description

Dataset available in kaggle: PaySim

We used PaySim synthetic dataset to train our ML model. It is based on a sample of real transactions extracted from one month of financial logs from a mobile money service implemented in an African country.

The original logs were provided by a multinational company, who is the provider of the mobile financial service which is currently running in more than 14 countries all around the world. This synthetic dataset is scaled down 1/4 of the original dataset.

This dataset contains 6362620 Transaction records with 11 features.

⽊ Project Tree Structure

 .
β”œβ”€β”€ catboost_info
β”œβ”€β”€ logs
β”‚   β”œβ”€β”€ model_development.txt
β”œβ”€β”€ predictions
β”‚   β”œβ”€β”€ Outputs.csv
β”œβ”€β”€ reports
β”‚   β”œβ”€β”€ feature_importances.csv
β”‚   β”œβ”€β”€ missing_values.csv
β”‚   β”œβ”€β”€ performance.json
β”‚   └── silhoutte_scores.csv
β”œβ”€β”€ saved_models
β”‚   β”œβ”€β”€ model.pkl
β”œβ”€β”€ src
β”‚   β”œβ”€β”€ data_preprocessing_1.py
β”‚   β”œβ”€β”€ data_preprocessing_2.py
β”‚   β”œβ”€β”€ data_preprocessing_3.py
β”‚   β”œβ”€β”€ feature_selection.py
β”‚   β”œβ”€β”€ segmentGenerator.py
β”‚   └── model_creation.py
β”œβ”€β”€ templates
β”‚   β”œβ”€β”€ index.html
β”œβ”€β”€ Procfile
β”œβ”€β”€ app.py
β”œβ”€β”€ requirements.txt
└── README.md

πŸ›  Tools used

Python programming language and frameworks such as NumPy, Pandas, Scikit-learn and Catboost are used to build the whole model.

alt text

  • Visual Studio Code is used as an IDE.
  • For visualization of the plots, Matplotlib and Seaborn are used.
  • Heroku Cloud Platform is used for deployment of the model.
  • Front end development is done using HTML/CSS
  • Flask framework is used for backend development
  • GitHub is used as a version control system.

πŸ‘¨πŸ»β€πŸ’» Web App

alt text

Our Web App Link: https://money-laundering-detection.herokuapp.com

In this web app, you just need to enter the path of your data. The model will start prediction and it will upload the outputs to the google drive folder.

In the result box, you can see the google drive folder link and output filename.

Contributors

  1. M V Rama Rao

About

Money Laundering Detection Using Machine Learning


Languages

Language:Python 72.2%Language:HTML 27.8%