CW
CreditWise Explainable Loan Decision System
Machine Learning • Explainable Predictions • Logistic Regression

Understand your loan decision.

Enter applicant details to estimate approval probability and understand which financial factors influenced the model's prediction through mathematical feature contributions.

Quick Demonstration Profiles:
01

Applicant Information

Personal and demographic background information.

Range: 18 - 80
Number of dependent family members
02

Financial Information

Income, debt ratios, existing commitments, and credit score.

Monthly / primary earnings
Enter 0 if none
Liquid savings buffer
Number of active concurrent credit facilities
Score between 300 and 850
Decimal ratio (e.g. 0.28 for 28% debt burden)
03

Loan Request Information

Loan amount, purpose, duration, and collateral details.

Total principal requested
Duration (e.g. 12, 24, 36, 48, 60, 84)
Estimated market value of pledged security (or 0 if unsecured)

How CreditWise Explains Decisions

A look into the underlying feature engineering and explainability mathematics.

1. Preprocessing & Imputation

Missing numerical fields are imputed using dataset means, while missing categorical values are imputed using mode frequency. Categorical variables are encoded with LabelEncoder and OneHotEncoder with first-category dropping to prevent collinearity.

2. Non-linear Feature Engineering

Financial risk exhibits non-linear curvature: risk escalates rapidly at high debt ratios and drops significantly at high credit scores. The pipeline introduces DTI_Ratio2 and Credit_Score2 to model these dynamics inside a linear model.

3. Feature Contributions

Features are standardized with StandardScaler. The log-odds contribution of each feature is mathematically defined as: cj = βj × xscaledj. Positive values push the probability toward approval, while negative values push toward rejection.

4. Conceptual Aggregation

Rather than presenting confusing dummy variables or squared terms, CreditWise aggregates one-hot dummies and maps technical features to plain-language financial drivers.