Credit Card Default Prediction Using Random Forest Classification

Credit card default prediction is an important machine learning problem in financial risk assessment because identifying customers who may default can support informed credit-management decisions. This study presents a Random Forest-based binary classification approach using the UCI Default of Credit Card Clients dataset. The implementation was carried out in Python using pandas, NumPy, ucimlrepo, and scikit-learn. The data were combined into a single DataFrame, inspected, and cleaned by removing duplicate rows. After preprocessing, 29,965 records and 23 input features were used. The dataset was divided using an 80:20 train-test split with random_state=42 and stratified sampling. A Random Forest Classifier containing 100 trees was trained without hyperparameter tuning. Performance was evaluated using accuracy, weighted precision, weighted recall, weighted F1-score, classification report, and confusion matrix. The reported model results are 81.31% accuracy, 79.39% weighted precision, 81.31% weighted recall, and 79.30% weighted F1-score. Class-wise results show stronger performance for the No Default class than for the Default class, particularly in recall. The study therefore provides a baseline Random Forest implementation while demonstrating the difficulty of detecting the minority default class.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-24
DOI
https://doi.org/10.5281/zenodo.24495189
Primary Topic
Financial Distress and Bankruptcy Prediction
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Credit Card Default Prediction Using Random Forest Classification

V. Subha, K Soma Surya Kalyan, MB Rahul Krish
1 links
Zenodo (CERN European Organization for Nuclear Research)
Financial Distress and Bankruptcy Prediction
article

Credit Card Default Prediction Using Random Forest Classification

V. Subha, K Soma Surya Kalyan, MB Rahul Krish
article en

Abstract

Credit card default prediction is an important machine learning problem in financial risk assessment because identifying customers who may default can support informed credit-management decisions. This study presents a Random Forest-based binary classification approach using the UCI Default of Credit Card Clients dataset. The implementation was carried out in Python using pandas, NumPy, ucimlrepo, and scikit-learn. The data were combined into a single DataFrame, inspected, and cleaned by removing duplicate rows. After preprocessing, 29,965 records and 23 input features were used. The dataset was divided using an 80:20 train-test split with random_state=42 and stratified sampling. A Random Forest Classifier containing 100 trees was trained without hyperparameter tuning. Performance was evaluated using accuracy, weighted precision, weighted recall, weighted F1-score, classification report, and confusion matrix. The reported model results are 81.31% accuracy, 79.39% weighted precision, 81.31% weighted recall, and 79.30% weighted F1-score. Class-wise results show stronger performance for the No Default class than for the Default class, particularly in recall. The study therefore provides a baseline Random Forest implementation while demonstrating the difficulty of detecting the minority default class.

Zenodo (CERN European Organization for Nuclear Research)
Financial Distress and Bankruptcy Prediction
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon