Last updated
Analyze loan applicants and classify financial risk, loan eligibility, and income-group summary metrics.
Analyze loan applicants and classify financial risk, loan eligibility, and income-group summary metrics.
Your dataset contains loan_applications with applicant income, loan amount, credit score, and existing EMI.
| Column | Type | Key / Notes |
|---|---|---|
| applicant_id | INT | Unique applicant ID |
| applicant_name | VARCHAR(50) | Applicant name |
| age | INT | Applicant age |
| monthly_income | FLOAT | Monthly income of applicant |
| loan_amount | FLOAT | Requested loan amount |
| credit_score | INT | Applicant credit score |
| existing_emi | FLOAT | Existing monthly EMI amount |
loan_applications — 8 rows
| applicant_id | applicant_name | age | monthly_income | loan_amount | credit_score | existing_emi |
|---|---|---|---|---|---|---|
| 201 | Ramesh | 32 | 65000 | 800000 | 760 | 12000 |
| 202 | Sneha | 28 | 48000 | 600000 | 690 | 9000 |
| 203 | Arjun | 41 | 90000 | 1500000 | 810 | 25000 |
| 204 | Nisha | 35 | 55000 | 700000 | 620 | 18000 |
| 205 | Karan | 45 | 120000 | 2000000 | 780 | 30000 |
| 206 | Pooja | 26 | 38000 | 500000 | 640 | 7000 |
| 207 | Manav | 39 | 75000 | 950000 | 710 | 16000 |
| 208 | Riya | 31 | 52000 | 400000 | 730 | 8000 |
Calculate EMI-to-income percentage and loan-to-income ratio. Assign risk category using credit score and EMI burden. Identify whether the applicant is loan eligible. Create income groups and summarize average loan amount by income group.
Your output should look like this (partial example):
| applicant_id | applicant_name | emi_to_income_pct | loan_to_income_ratio | risk_category | loan_eligibility | income_group |
|---|---|---|---|---|---|---|
| 201 | Ramesh | 18.46 | 1.03 | Low Risk | Eligible | Middle Income |
| 202 | Sneha | 18.75 | 1.04 | Medium Risk | Eligible | Low Income |
| ... | ... | ... | ... | ... | ... | ... |