Financial Analytics • Risk Modeling • LightGBM

Predicting Loan Default Probability

A machine learning model designed to estimate the probability of customer default using financial, demographic, and behavioral data.

Problem Statement

Financial institutions face significant risk when issuing loans. Accurately predicting whether a customer will default allows banks to minimize losses, optimize lending strategies, and improve risk management.

This project focuses on predicting the probability of default rather than a simple binary classification, enabling more flexible decision-making.

Dataset Overview

The dataset includes financial, demographic, and credit-related features, totaling 30+ variables.

The target variable is highly imbalanced, with significantly fewer default cases compared to non-default cases.

Exploratory Data Analysis

External risk scores (EXT_SOURCE_1, 2, 3) show strong separation between defaulters and non-defaulters, making them critical predictive features.

Feature Engineering

Raw financial data was transformed into meaningful indicators to better capture customer risk.

Behavioral Features:

Additional interaction features were created from external risk scores to capture combined effects.

Modeling Approach

A LightGBM-based ensemble approach was used to improve prediction stability and performance.

Predictions from multiple folds and seeds were averaged to reduce variance and improve generalization.

Model Evaluation

The model was evaluated using ROC-AUC, which is suitable for imbalanced classification problems.

The model achieved an approximate AUC score of 0.75, indicating strong ability to distinguish between defaulters and non-defaulters.

Results

Final predictions were generated by averaging outputs from 15 model runs (3 seeds × 5 folds).

The final output represents the probability of default for each customer, enabling flexible threshold-based decision making.

Business Impact

This system can be integrated into financial pipelines to provide real-time credit risk scoring.

Back to Portfolio