Model Active
RF · n=200 · depth=8 · Weighted
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 Risk
0%
Default Probability
Low Medium High
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
ClassPrecisionRecallF1-ScoreSupportStatus
0 — No Default0.900.790.841,933Good
1 — Default0.430.640.51467Moderate
Macro Avg0.660.720.682,400Moderate
Weighted Avg0.810.760.782,400Good
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.
✓
Analysis complete.