Skip to content

Subhajitdas99/fraud_detection_System

Repository files navigation

Fraud Detection System

This project includes:

  • fraud_detection.py: Train XGBoost fraud detection model with all features from Kaggle dataset.
  • app.py: FastAPI API for single transaction prediction with dynamic threshold.
  • test_single_api.py: Test a single transaction against the API.
  • batch_test_api_full.py: Batch test multiple transactions from CSV.
  • test_transactions_full.csv: Sample CSV file with features.

How to Run

  1. Install dependencies:
pip install -r requirements.txt

About

Fraud Detection System using XGBoost + FastAPI. Includes training script, API, and batch testing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors