这是indexloc提供的服务,不要输入任何密码
Skip to content

VonPaulusTrusta/AiML-financial-fraud-detection-model

 
 

Repository files navigation

Machine Learning-based Fraud Detection for E-commerce and Banking Transactions

Adey Innovations Inc. aims to enhance the detection of fraudulent transactions in the e-commerce and banking sectors. This project focuses on developing advanced machine learning models to identify fraud with high accuracy by analyzing transaction data, creating sophisticated features, and implementing real-time monitoring systems. By improving fraud detection, Adey Innovations Inc. aims to reduce financial losses, bolster transaction security, and build stronger trust with customers and financial institutions. The project entails data preprocessing, feature engineering, model development, evaluation, and deployment, ensuring a comprehensive approach to combating fraud.

Table of Contents

  1. Exploratory Data Analysis (EDA)
  2. Model Building and Training
  3. Model Explainability Using SHAP
  4. Model Deployment and API Development
  5. Contributing
  6. License

1. Exploratory Data Analysis (EDA)

Univariate Analysis

featureEng

Bivariate Analysis

Feature Engineering

featureEng

2. Model Building and Training

After training and testing six models (three for each dataset), we selected the following models:

2.1 Fraud-IP Dataset - XGBoost Model

xgboost xgboost2

2.2 Credit Card Dataset - Logistic Regression with StandardScaler

lr1 lr2

3. Model Explainability Using SHAP

Summary Plot

summary plot

Force Plot

forceplot

4. Model Deployment and API Development

Running the Flask App

runflask

Testing the API

testflask

Building Docker Image

build

Running Docker Container

runflask

Testing the API from Postman

Generated 3 new instances and sent a request to the fraud detection model api.

postman

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 83.3%
  • HTML 16.1%
  • Other 0.6%