This project implements a machine learning model to detect fraudulent transactions, helping financial institutions prevent losses and improve trust. It uses supervised learning techniques on transaction data to identify suspicious activity.
- Preprocessing of imbalanced transaction datasets
- Training and evaluation of models like Logistic Regression, Decision Trees, and Random Forest
- Performance metrics: Accuracy, Precision, Recall, F1-score
- Visualization of results and confusion matrix
- Python 3
- pandas, NumPy
- scikit-learn
- matplotlib, seaborn
fraud_detection.ipynb
: Main notebook with data loading, training, and evaluationdata/
: Dataset files (if available)README.md
: Project overview and instructions
-
Clone the repo:
git clone https://github.com/Shakshi-das/Fraud-detection.git cd Fraud-detection
-
Open the Jupyter Notebook:
jupyter notebook fraud_detection.ipynb
- Use of advanced models (XGBoost, LightGBM)
- Deployment as an API for real-time detection
- Integration with dashboards