Skip to content

ayayoussfiii/CreditCardFraud-Project

Repository files navigation

CreditCardFraud-Project HDBSCAN

Project Overview This project applies a cluster-based modeling approach on the UCI Credit Card Default dataset to predict the likelihood of a client defaulting on their payment. Instead of training a single global model, clients are first segmented into behavioral groups using HDBSCAN, then a dedicated prediction model is trained for each cluster. This approach yields more accurate predictions and cluster-specific financial risk insights.

Dataset Size: 30,000 clients, 23 features Target: DEFAULT — whether a client will default next month (binary: 0/1) Features: Credit limit, payment history (6 months), bill amounts, payment amounts, demographics

image image image image image image image image

About

Built an end-to-end credit card default prediction system on 30,000 clients. Used HDBSCAN for behavioral segmentation (3 clusters), Gradient Boosting per cluster with SMOTE for class imbalance, Naive Bayes as baseline, and SHAP for model explainability. Deployed via Flask.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors