Fraud Detection - Credit Card Transactions

Automatic classification of financial transactions to distinguish fraudulent transactions from legitimate ones.

Machine Learning

Projet: Staff

September, 2021

Durée: 1 month

Personal project carried out in September 2021. Inspired by real-life finance use cases, this project aims to help a company automatically detect fraud in banking transactions, in order to protect customers against unauthorized payments.


Issue

With millions of transactions processed every day, how to identify quickly and reliably the suspicious operations?
➡️ The goal is to build a robust classification model capable of differentiating normal transactions from fraud, based on an annotated dataset.


🛠️ Implemented solution

  • User management: registration, login, account subscriptions

  • 📊 Exploratory data analysis to understand distribution, class imbalance, and key variables.

  • 🔍 Implementation and comparison of several supervised classification models:

    • XGBoost

    • Random Forest

    • SVM

    • K-Nearest Neighbors

    • Logistic Regression

  • ⚖️ Use of imbalanced data treatment techniques

  • 🧮 Evaluation through appropriate metrics: precision, recall, F1-score, confusion matrix.

  • 💡 Some forecasting attempts on temporal trends.


⚙️ Technical stack

  • Language: Python

  • Libraries: pandas · seaborn · scikit-learn · xgboost

  • Methods: classification · model evaluation · management of imbalanced classes

  • Environment: Jupyter Notebook

  • Prerequisites: Machine Learning · Python · basic statistics


Tags

Fraud Detection, XGBoost, Sklearn, Random Forest, SVM

You might also like

SmartCity - Data Platform for Urban Intelligence

Data Engineering, Open Data

SmartCity - Data Platform for Urban Intelligence

Data Engineering, Open Data

Recognition of Handwritten Digits

Deep Learning, Computer Vision

Recognition of Handwritten Digits

Deep Learning, Computer Vision

SRAXC : Un Chatbot Expert sur mon Portfolio

Natural Language Processing (NLP), MLOps

SRAXC : Un Chatbot Expert sur mon Portfolio

Natural Language Processing (NLP), MLOps

Multilingual Text Summarizer with Transformers

Natural Language Processing (NLP), MLOps

Multilingual Text Summarizer with Transformers

Natural Language Processing (NLP), MLOps

Create a free website with Framer, the website builder loved by startups, designers and agencies.