PDF
摘要
【目的】为精准预测混凝土抗压强度、突出XGBoost模型的预测优势和实现XGBoost模型的可解释功能,【方法】构建以水泥、龄期、水等8种影响因素为输入特征和以抗压强度为目标特征的1 030个样本数据集,建立支持向量回归(SVR)、随机森林(RF)和极端梯度提升树(XGBoost)机器学习算法模型,开展混凝土抗压强度预测研究,将XGBoost模型和ACI209公式的预测结果对比,同时,引入SHAP模型对XGBoost模型进行解释和分析。【结果】结果表明:XGBoost模型的预测精度最高,R2为0.952, MAE为2.48, MAPE为9.16, RMSE为3.58,但XGBoost模型对小于30 MPa的低抗压强度样本的预测误差较大,随着抗压强度的增大,XGBoost模型的预测精度提高,超限样本比例从25%下降到2.7%;与ACI209公式的预测结果相比,XGBoost模型在龄期56 d和100 d样本的预测值绝对误差率均值为4.10%,3.64%,而ACI209公式则为11.27%,17.96%。【结论】XGBoost模型适用于混凝土强度大于30 MPa的样本的预测;SHAP模型不仅可以定量地给出特征重要性排序,还能定性地给出每个特征参数是对抗压强度的影响规律,能为混凝土相关研究及其他需要对机器学习模型进行解释的研究提供参考。
Abstract
[Objective] To accurately predict the compressive strength of concrete, highlight the predictive advantages of the XGBoost model, and realize the interpretable function of the XGBoost model, [Methods] a data set of 1030 samples with eight factors such as cement, age, water and others as input features and compressive strength as target features is constructed, and machine learning algorithm models of Support Vector Regression(SVR), Random Forest(RF) and Extreme Gradient Boosting Tree(XGBoost) to research on concrete compressive strength prediction, comparing the prediction result of the XGBoost model and the ACI209 formula, and meanwhile, introducing the SHAP model to explain and analyze the XGBoost model. [Results] The result show that the XGBoost model has the highest prediction accuracy with R2 of 0. 952, MAE of 2. 48, MAPE of 9. 16, and RMSE of 3. 58; however, the prediction error of the XGBoost model for low compressive strength samples less than 30 MPa is larger, and the prediction accuracy of the XGBoost model improves as the compressive strength increases, and the proportion of exceeding the limit samples decreases from 25% to 2. 7%; compared with the prediction result of ACI209 formula, the mean absolute error rate of the XGBoost model's prediction values for samples of age 56 d and 100 d are 4. 10% and 3. 64%, compared with 11. 27% and 17. 96% for ACI209 formula. [Conclusion] The XGBoost model is suitable for the prediction of samples with concrete strength greater than 30 MPa; The SHAP model can not only quantitatively give the ranking of feature importance, but also qualitatively give the influence of each feature parameter on compressive strength, which can provide a reference for concreterelated research and other studies that need to explain machine learning models.
关键词
机器学习
/
XGBoost
/
SHAP
/
抗压强度预测
/
混凝土
/
力学性能
Key words
machine learning
/
XGBoost
/
SHAP
/
compressive strength prediction
/
concrete
/
mechanical properties
[Author(id=1242179561598562405, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, orderNo=0, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=2436904905@qq.com, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1242179561653088365, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, authorId=1242179561598562405, language=EN, stringName=Conglin LIU, firstName=Conglin, middleName=null, lastName=LIU, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, address=1. School of Civil Engineering, Lanzhou Jiaotong University, Lanzhou 730070, Gansu, China, bio=null, bioImg=null, bioContent=null, aboutCorrespAuthor=null), CN=AuthorExt(id=1242179561699225713, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, authorId=1242179561598562405, language=CN, stringName=刘聪林, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, address=1.兰州交通大学 土木工程学院, 甘肃 兰州 730070, bio={"content":"刘聪林(1998—), 男, 硕士研究生, 主要从事桥梁损伤识别研究。E-mail: 2436904905@qq.com
"}, bioImg=null, bioContent=刘聪林(1998—), 男, 硕士研究生, 主要从事桥梁损伤识别研究。E-mail: 2436904905@qq.com
, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1242179561279795273, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, xref=null, ext=[AuthorCompanyExt(id=1242179561296572491, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, companyId=1242179561279795273, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1. School of Civil Engineering, Lanzhou Jiaotong University, Lanzhou 730070, Gansu, China), AuthorCompanyExt(id=1242179561309155404, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, companyId=1242179561279795273, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1.兰州交通大学 土木工程学院, 甘肃 兰州 730070)])]), Author(id=1242179561741168757, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, orderNo=1, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=ligwin@126.com, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1242179561799889020, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, authorId=1242179561741168757, language=EN, stringName=Sheng LI, firstName=Sheng, middleName=null, lastName=LI, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, address=1. School of Civil Engineering, Lanzhou Jiaotong University, Lanzhou 730070, Gansu, China, bio=null, bioImg=null, bioContent=null, aboutCorrespAuthor=null), CN=AuthorExt(id=1242179561841832067, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, authorId=1242179561741168757, language=CN, stringName=李盛, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, address=1.兰州交通大学 土木工程学院, 甘肃 兰州 730070, bio=null, bioImg=null, bioContent=null, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1242179561279795273, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, xref=null, ext=[AuthorCompanyExt(id=1242179561296572491, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, companyId=1242179561279795273, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1. School of Civil Engineering, Lanzhou Jiaotong University, Lanzhou 730070, Gansu, China), AuthorCompanyExt(id=1242179561309155404, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, companyId=1242179561279795273, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1.兰州交通大学 土木工程学院, 甘肃 兰州 730070)])]), Author(id=1242179561887969417, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, orderNo=2, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=null, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1242179561942495375, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, authorId=1242179561887969417, language=EN, stringName=Xiaoning CUI, firstName=Xiaoning, middleName=null, lastName=CUI, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=2, address=2. National and Provincial Joint Engineering Laboratory of Road & Bridge Disaster Prevention and control, Lanzhou Jiaotong University, Lanzhou 730070, Gansu, China, bio=null, bioImg=null, bioContent=null, aboutCorrespAuthor=null), CN=AuthorExt(id=1242179561984438419, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, authorId=1242179561887969417, language=CN, stringName=崔晓宁, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=2, address=2.兰州交通大学 道桥工程灾害防治技术国家地方联合工程实验室, 甘肃 兰州 730070, bio=null, bioImg=null, bioContent=null, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1242179561359487056, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, xref=null, ext=[AuthorCompanyExt(id=1242179561372069969, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, companyId=1242179561359487056, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=2. National and Provincial Joint Engineering Laboratory of Road & Bridge Disaster Prevention and control, Lanzhou Jiaotong University, Lanzhou 730070, Gansu, China), AuthorCompanyExt(id=1242179561401430099, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, companyId=1242179561359487056, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=2.兰州交通大学 道桥工程灾害防治技术国家地方联合工程实验室, 甘肃 兰州 730070)])]), Author(id=1242179562030575768, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, orderNo=3, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=null, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1242179562085101727, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, authorId=1242179562030575768, language=EN, stringName=Lei CAI, firstName=Lei, middleName=null, lastName=CAI, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=3, address=3. Track Maintenance Department, China Railway Lanzhou Group Co., Ltd., Lanzhou 730030, Gansu, China, bio=null, bioImg=null, bioContent=null, aboutCorrespAuthor=null), CN=AuthorExt(id=1242179562131239076, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, authorId=1242179562030575768, language=CN, stringName=蔡磊, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=3, address=3.中国铁路兰州局集团有限公司 工务部,甘肃 兰州 730030, bio=null, bioImg=null, bioContent=null, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1242179561455956053, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, xref=null, ext=[AuthorCompanyExt(id=1242179561472733271, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, companyId=1242179561455956053, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=3. Track Maintenance Department, China Railway Lanzhou Group Co., Ltd., Lanzhou 730030, Gansu, China), AuthorCompanyExt(id=1242179561485316186, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, companyId=1242179561455956053, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=3.中国铁路兰州局集团有限公司 工务部,甘肃 兰州 730030)])]), Author(id=1242179562177376424, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, orderNo=4, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=null, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1242179562236096690, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, authorId=1242179562177376424, language=EN, stringName=Jiangong ZHANG, firstName=Jiangong, middleName=null, lastName=ZHANG, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=4, address=4. China MCC17 Group Co., Ltd., Lanzhou 730030, Gansu, China, bio=null, bioImg=null, bioContent=null, aboutCorrespAuthor=null), CN=AuthorExt(id=1242179562282234039, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, authorId=1242179562177376424, language=CN, stringName=张建功, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=4, address=4.中国十七冶集团有限公司, 甘肃 兰州 730030, bio=null, bioImg=null, bioContent=null, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1242179561531453532, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, xref=null, ext=[AuthorCompanyExt(id=1242179561544036445, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, companyId=1242179561531453532, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=4. China MCC17 Group Co., Ltd., Lanzhou 730030, Gansu, China), AuthorCompanyExt(id=1242179561556619359, tenantId=1045748351789510663, journalId=1221126710357164034, articleId=1242179560642261048, companyId=1242179561531453532, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=4.中国十七冶集团有限公司, 甘肃 兰州 730030)])])]
刘聪林,李盛,崔晓宁,蔡磊,张建功.
融合XGBoost和SHAP的混凝土抗压强度预测分析模型[J].
水利水电技术(中英文), 2025, 56(2): 246-258 DOI:10.13928/j.cnki.wrahe.2025.02.020
基金资助
宁夏回族自治区重点研发计划项目(2022BEG02056)