π³ Credit Card Fraud Detection using DBSCAN Clustering
An unsupervised machine learning approach to detect fraudulent credit card transactions using DBSCAN clustering algorithm.
π― Overview
Implements an unsupervised anomaly detection system for identifying potentially fraudulent credit card transactions without labeled data.
π Installation
pip install pandas numpy matplotlib scikit-learn
π» Usage
Open DBSCAN_clustering.ipynb in Jupyter Notebook or Google Colab
and run all cells sequentially.
π Dataset
Works with credit card transaction datasets. Recommended: Kaggle Credit Card Fraud Detection Dataset
π¬ Methodology
- Data Preprocessing β handles missing values and standardizes features
- DBSCAN Clustering β density-based anomaly detection
- Anomaly Detection β points labeled -1 are potential fraud
- PCA Visualization β 2D projection of clusters
π References
- Ester, M., et al. (1996). βA density-based algorithm for discovering clustersβ
- Scikit-learn DBSCAN Documentation