Last updated
Analyze insurance claims, classify claim severity, calculate settlement gaps, and summarize policy-type risk.
Analyze insurance claims, classify claim severity, calculate settlement gaps, and summarize policy-type risk.
Your dataset contains insurance_claims with claim amount, approved amount, claim days, policy type, and fraud flag.
| Column | Type | Key / Notes |
|---|---|---|
| claim_id | INT | Unique claim ID |
| policyholder_name | VARCHAR(50) | Name of policyholder |
| policy_type | VARCHAR(50) | Type of insurance policy |
| claim_amount | FLOAT | Amount claimed by policyholder |
| approved_amount | FLOAT | Amount approved by insurer |
| claim_days | INT | Number of days taken to process claim |
| fraud_flag | VARCHAR(5) | Whether claim is suspected fraud |
insurance_claims — 8 rows
| claim_id | policyholder_name | policy_type | claim_amount | approved_amount | claim_days | fraud_flag |
|---|---|---|---|---|---|---|
| 601 | Amit | Health | 85000 | 78000 | 12 | No |
| 602 | Neha | Motor | 45000 | 30000 | 20 | No |
| 603 | Rohan | Travel | 18000 | 16000 | 7 | No |
| 604 | Priya | Health | 125000 | 90000 | 25 | Yes |
| 605 | Kabir | Motor | 60000 | 52000 | 15 | No |
| 606 | Isha | Travel | 22000 | 12000 | 18 | Yes |
| 607 | Dev | Health | 95000 | 88000 | 10 | No |
| 608 | Meera | Motor | 70000 | 45000 | 30 | Yes |
Calculate settlement gap for each claim. Calculate approval percentage for each claim. Classify claim severity as High, Medium, or Low. Identify high-risk claims using fraud flag and claim processing days. Summarize policy-type-wise claim amount, approved amount, average approval percentage, and high-risk claim count.
Your output should look like this (partial example):
| claim_id | policyholder_name | policy_type | settlement_gap | approval_percentage | claim_severity | high_risk_claim |
|---|---|---|---|---|---|---|
| 601 | Amit | Health | 7000 | 91.76 | High | No |
| 602 | Neha | Motor | 15000 | 66.67 | Medium | No |
| ... | ... | ... | ... | ... | ... | ... |