Giter Club home page Giter Club logo

strangecoder1729 / financialfrauddetectionmodels Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 2.64 MB

Developed and evaluated machine learning and deep learning models for detecting financial fraud.

License: MIT License

Jupyter Notebook 100.00%
artificial-neural-networks bagging-ensemble boosting-ensemble convolutional-neural-network decision-tree-classifier deep-learning ensemble-classifier finance financial-fraud financial-fraud-detection knn-classification logistic-regression machine-learning naive-bayes-classifier neural-network python random-forest-classifier xgboost-classifier

financialfrauddetectionmodels's Introduction

Financial Fraud Detection Model Analysis (Part-I)

Overview

This project focuses on detecting financial fraud using a variety of machine learning and deep learning models. The dataset used contains transactional data with features such as transaction type, amount, and balance changes. The goal is to develop effective models that can accurately classify transactions as either fraudulent or non-fraudulent.

Link to the dataset: Synthetic Financial Dataset

Dataset

The dataset used in this project consists of transactional data containing the following features:

  • Transaction type (e.g., debit, credit)
  • Transaction amount
  • Balance changes
  • Other relevant transaction details

Methodology

Preprocessing

  • Data cleaning: One-hot encoding and data normalization.
  • Feature engineering: Dropping irrelevant features.

Model Selection

The project explores both traditional machine learning models and deep learning architectures for classification:

Machine Learning Models:

  1. Logistic Regression
  2. Decision Tree
  3. K-Nearest Neighbors (KNN)
  4. Random Forest
  5. Naive Bayes
  6. XGBoost

Deep Learning Models:

  1. Artificial Neural Network (ANN)
  2. Convolutional Neural Network (CNN)

Model Training and Evaluation

  • Splitting the dataset into training and testing sets.
  • Training each model using the training data.
  • Evaluating model performance using metrics such as accuracy, precision, recall, and F1-score.
  • Comparing the performance of different models to identify the most effective ones for fraud detection.

Results

  • Among the machine learning models, the Random Forest classifier demonstrated the best performance based on evaluation metrics.
  • Within the deep learning models, the Convolutional Neural Network (CNN) showed promising results for fraud detection.
  • Detailed analysis and interpretation of model performance, including confusion matrices and ROC curves.

Contributors

Deployed Model

  • The trained model has been deployed using Flask for inference. Access the deployment repository here.

financialfrauddetectionmodels's People

Contributors

strangecoder1729 avatar

Watchers

 avatar

Forkers

tirthm21

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.