AI-Powered Credit Intelligence
Assess Loan Default
Risk Instantly
Fill in the applicant details below. Our Random Forest model analyses 14 financial features — with Credit Score, Interest Rate, and Annual Income as the strongest predictors — to generate a calibrated default risk score.
76.1%
Accuracy
0.80
ROC-AUC
300
Trees
1
Applicant Profile
2
Loan Details
8.5%
3
Credit & Risk Factors
Risk Assessment Complete
High Risk0%
Default Probability
Key Risk Drivers
Credit Score
—
Primary feature · 34%
Interest Rate
—
2nd feature · 32%
Annual Income
—
3rd feature · 6%
Decision
—
Model recommendation
Model Performance Analytics
Training Results
& Metrics
RandomForestClassifier · n_estimators=200 · max_depth=8 · Cost-sensitive class weights · Stratified 80/20 split · random_state=42 · 12,000 records
76.1%
Test Accuracy
Evaluated on 20% stratified hold-out set with balanced class weights on training set.
0.80
ROC-AUC Score
Strong discrimination power. Correctly ranks defaults above non-defaults 80% of the time.
0.43
Precision · Default
43% of predicted defaults are genuine — well-balanced due to cost-sensitive weighting.
200
Estimators
200 decision trees, each trained with a maximum depth of 8 nodes and bootstrapped samples.
Confusion Matrix Actual Test Results
1,526
True Negative
407
False Positive
166
False Negative
301
True Positive
← Predicted: No DefaultPredicted: Default →
Interpretation: The model correctly identified 1,526 true non-defaults and 301 actual defaults. It missed 166 real defaults (False Negatives) and incorrectly flagged 407 non-defaults (False Positives).
ROC Curve AUC = 0.80
Feature Importance RandomForest · 14 Features
Classification Report Per Class
| Class | Precision | Recall | F1-Score | Support | Status |
|---|---|---|---|---|---|
| 0 — No Default | 0.90 | 0.79 | 0.84 | 1,933 | Good |
| 1 — Default | 0.43 | 0.64 | 0.51 | 467 | Moderate |
| Macro Avg | 0.66 | 0.72 | 0.68 | 2,400 | Moderate |
| Weighted Avg | 0.81 | 0.76 | 0.78 | 2,400 | Good |
Improvement tips: Tune the classification threshold (try prob > 0.45–0.55). Consider class_weight='balanced' or XGBoost / LightGBM for further AUC gains.
Class Distribution Before & After SMOTE
Class balancing is handled via cost-sensitive learning using
class_weight='balanced_subsample'. The minority Default class (≈19.5% of the training set) is dynamically weighted at each split of the random forest trees to match the majority class, avoiding synthetic data leakage.