Overview Dashboard

Real-time statistics & visual analytics of the loan approval dataset

Loading dataset...

Total Applications

1,000
Source: loan_approval_data.csv

Approval Rate

29.8%
298 Approved applications

Avg Applicant Income

$10,853
Monthly average income

Avg Credit Score

676
Prime eligibility threshold

Credit Score Bracket vs Approval Rate

Higher credit scores correlate heavily with loan approvals

Overall Approval Split

Ratio of approved vs rejected applications

Loan Purpose Breakdown

Distribution of loans by category

Debt-To-Income (DTI) Ratio vs Approval Probability

Probability of approval dropping off as DTI increases

Applicant Profile Input

Adjust slider inputs and options to run the Logistic Regression model in real time.

Financial Details
$1k$15k$30k
$0$7.5k$15k
300 (Poor)675 (Good)850 (Excellent)
0.0 (Zero Debt)0.51.0 (High Debt)
$0$25k$50k
$0$50k$100k
$1k$25k$50k
Demographics & Background
18 Years4575 Years
025+
025

Approval Verdict

Logistic Regression Estimate

0.0%
Approval Probability

ELIGIBLE / APPROVED

This profile meets standard underwriting rules and passes the risk threshold.

Primary Decision Drivers

Features contributing to the model's positive or negative log-odds prediction.

  • Credit Score: 720 provides strong positive classification weight (+1.25)
ID Age Gender Income ($) Credit Score DTI Ratio Collateral ($) Loan Amount ($) Purpose Status

Parsing dataset...

Model Performance & Overview

Logistic Regression trained with standard scaling and feature transformations.

88.0% Accuracy
78.5% Precision
83.6% Recall
81.0% F1-Score

Model Mathematical Blueprint

The model operates on 28 standardized features including engineered interaction parameters:

$$ \text{LogOdds}(z) = \beta_0 + \sum_{i=1}^{28} \beta_i \left( \frac{X_i - \mu_i}{\sigma_i} \right) $$ $$ P(\text{Approved}) = \frac{1}{1 + e^{-z}} $$

To fit the non-linear thresholds of loan approvals, two critical feature engineering transformations are applied:

  • Credit Score Squared ($Credit\_Score^2$): Dramatically accelerates the approval probability as credit ratings cross key tiers (e.g. from subprime to prime).
  • DTI Ratio Squared ($DTI\_Ratio^2$): Imposes an exponential penalty for borrowers as debt exceeds comfortable margins.
  • Log Income ($\ln(Income + 1)$): Compresses wide income distributions to represent diminishing returns on extreme wealth.

Confusion Matrix

Evaluation results on the 200-sample test set

Predicted Rejected
Predicted Approved
ACTUAL
REJECTED
125 True Negative
14 False Positive
APPROVED
10 False Negative
51 True Positive

Key Insight: Out of 61 actual approved loans, the model successfully identified 51 (83.6% Recall). The false positive rate is low (14 out of 139), meaning a small risk of approving default-prone applicants.

Feature Importance Weights

Standardized coefficients (positive values favor approval, negative values favor rejection)