Litcius/Paper detail

Interpretable machine learning for predicting compression index of clays using SHAP and gradient boosting models

Khaled Hamdaoui, Ali Benzaamia, Billal Sari Ahmed, Mohamed Elhebib Guellil, Mohamed Ghrici

2025Journal of Engineering and Applied Science9 citationsDOIOpen Access PDF

Abstract

Abstract This study introduces a novel, interpretable machine learning framework for predicting the compression index (Cc) of clay soils by integrating three advanced gradient boosting algorithms—XGBoost, CatBoost, and LightGBM—with SHapley Additive exPlanations (SHAP). A comprehensive dataset of 1,243 clay samples, compiled from peer-reviewed literature, includes four geotechnical input variables: plastic limit (PL), plasticity index (PI), initial void ratio (e₀) and water content (w). Data were standardized and partitioned into training (70%) and testing (30%) subsets. Model development employed fivefold cross-validation and Optuna-based hyperparameter optimization. Among the models, XGBoost demonstrated the highest generalization capability, achieving an R 2 of 0.913, RMSE of 0.197, and MAE of 0.100 on the test set. SHAP analysis revealed that initial void ratio (e₀) and water content (w) were the most influential features, with mean SHAP values of 0.20 and 0.10, respectively, aligning with established geotechnical principles. The proposed framework enhances transparency in machine learning predictions by making the model’s decision process understandable, thereby addressing the limitations of traditional “black-box” AI. It offers a reliable and efficient alternative to conventional oedometer testing, particularly beneficial for preliminary geotechnical design where timely and interpretable predictions are essential. Graphical Abstract

Topics & Concepts

Atterberg limitsMachine learningVoid ratioArtificial intelligenceOedometer testBoosting (machine learning)MathematicsComputer scienceMean squared errorRaw dataTest dataGradient boostingHyperparameterAdaBoostStatisticsTraining setIndex (typography)Geotechnical engineeringPlasticityGeneralizationSoil waterSoil and Unsaturated FlowDam Engineering and SafetyHydraulic Fracturing and Reservoir Analysis
Interpretable machine learning for predicting compression index of clays using SHAP and gradient boosting models | Litcius