Medical Insurance Cost Prediction: Heterogeneous Machine Learning Models and SHAP-Based Interpretability
Kaiyue Tang
Key points
From the paper's conclusion- The results demonstrate the importance of combining heterogeneous model comparison, scale-aware evaluation, and transparent interpretation.
Abstract
Medical insurance cost prediction supports premium design, risk assessment, reserve planning, and healthcare resource allocation. This study used a public dataset containing 2,772 records and seven variables. Because 1,435 rows were fully duplicated and the dataset lacked identifiers or timestamps that could verify their independence, the main analysis retained 1,337 unique observations. Potential high-BMI and high-charge observations identified by the interquartile range rule were preserved because they may represent genuine insurance risk. The target was transformed using log1p, and predictions were returned to the original cost scale for evaluation. Six heterogeneous models were compared: Huber Regression, Kernel Ridge Regression, Random Forest, Gradient Boosting Machine, Extreme Gradient Boosting (XGBoost), and a Back Propagation (BP) Neural Network. XGBoost achieved the highest mean cross-validated Coefficient of Determination (R 2 ) on the log scale, whereas Random Forest obtained the lowest test Mean Squared Error (MSE), Root Mean Squared Error (RMSE), and Mean Absolute Error (MAE), and the highest original-scale R 2 of 0.905. Error analysis showed larger underprediction in the highest-cost quartile. SHapley Additive exPlanations (SHAP) identified smoking status and age as the dominant predictors. The results demonstrate the importance of combining heterogeneous model comparison, scale-aware evaluation, and transparent interpretation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Beyond predictive performance: Interpretability challenges and feature importance bias in XGBoost-based readmission models.Geriatric nursing (New York, N.Y.) · 2026
- Shapley value explanations for clinical prediction models: a scoping review and guidenpj Digital Medicine · 2026
- Improving Diabetes Prediction Accuracy and Interpretability with SMOTE and SHAPEngineering Technology & Applied Science Research · 2026
- Explainable Tree-Based Ensemble Models for Diabetes Prediction Using SHAPAUIQ technical engineering science. · 2026
- Insurance fraud risk screening under review capacity constraints: An explainable decision support framework for claims risk managementRisk Management and Insurance Review · 2026
- Development and Real-World Evaluation of an Interpretable Machine Learning Framework for Predicting COPD-Related Healthcare Costs.International journal of chronic obstructive pulmonary disease · 2026