ITM Web of Conferences

Medical Insurance Cost Prediction: Heterogeneous Machine Learning Models and SHAP-Based Interpretability

Kaiyue Tang

Computational

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

Medical Insurance Cost Prediction: Heterogeneous Machine Learning Models and SHAP-Based Interpretability — Science Skim