Integration of advanced chemometric and machine learning techniques: Stacking model and XGBoost dynamic correction for aniline detection with an unmodified carbon paste electrode

IF 3.1 3区 物理与天体物理 Q2 Engineering
Optik Pub Date : 2025-04-22 DOI:10.1016/j.ijleo.2025.172369
Meryem NINI, Mohamed NOHAIR
{"title":"Integration of advanced chemometric and machine learning techniques: Stacking model and XGBoost dynamic correction for aniline detection with an unmodified carbon paste electrode","authors":"Meryem NINI,&nbsp;Mohamed NOHAIR","doi":"10.1016/j.ijleo.2025.172369","DOIUrl":null,"url":null,"abstract":"<div><div>This study proposes a novel Chemometric approach for the precise and reliable quantification of aniline using an unmodified carbon paste electrode (CPE), even in the presence of interfering species such as phenol. The proposed methodology integrates partial least squares (PLS), random forest (RF) and ridge regression in a stacked model framework, combined with particle swarm optimization (PSO) for potential selection. To enhance the prediction accuracy, a dynamic correction based on XGBoost was applied, which effectively minimized residual errors and improved model robustness. The model developed demonstrated high performance on the training (R<sup>2</sup> = 0.9993, RMSE = 0.6260 and MAE = 0.4773), test (R<sup>2</sup> = 0.9979, RMSE = 0.7616 and MAE = 0.6839) and cross-validation datasets (R<sup>2</sup> = 0.9988, RMSE = 0.8312 and MAE = 0.5467), thus confirming its stability and reliability. The high coefficient of determination (R2), as well as the low root mean square error (RMSE) and mean absolute deviation (MAE) values, underscore the model's robust predictive capabilities and its capacity to accommodate intricate electrochemical interactions. Moreover, the calculated recovery rates and tolerance limits signify high precision and consistency across varying concentration levels. Utilizing an unmodified EPC, this approach proffers a cost-effective, sensitive, and selective strategy for aniline quantification, rendering it especially well-suited for environmental and industrial monitoring. The model's strong predictive capabilities underscore its potential for real-world contaminant detection, offering a reliable solution for complex analytical environments.</div></div>","PeriodicalId":19513,"journal":{"name":"Optik","volume":"330 ","pages":"Article 172369"},"PeriodicalIF":3.1000,"publicationDate":"2025-04-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Optik","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0030402625001573","RegionNum":3,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"Engineering","Score":null,"Total":0}
引用次数: 0

Abstract

This study proposes a novel Chemometric approach for the precise and reliable quantification of aniline using an unmodified carbon paste electrode (CPE), even in the presence of interfering species such as phenol. The proposed methodology integrates partial least squares (PLS), random forest (RF) and ridge regression in a stacked model framework, combined with particle swarm optimization (PSO) for potential selection. To enhance the prediction accuracy, a dynamic correction based on XGBoost was applied, which effectively minimized residual errors and improved model robustness. The model developed demonstrated high performance on the training (R2 = 0.9993, RMSE = 0.6260 and MAE = 0.4773), test (R2 = 0.9979, RMSE = 0.7616 and MAE = 0.6839) and cross-validation datasets (R2 = 0.9988, RMSE = 0.8312 and MAE = 0.5467), thus confirming its stability and reliability. The high coefficient of determination (R2), as well as the low root mean square error (RMSE) and mean absolute deviation (MAE) values, underscore the model's robust predictive capabilities and its capacity to accommodate intricate electrochemical interactions. Moreover, the calculated recovery rates and tolerance limits signify high precision and consistency across varying concentration levels. Utilizing an unmodified EPC, this approach proffers a cost-effective, sensitive, and selective strategy for aniline quantification, rendering it especially well-suited for environmental and industrial monitoring. The model's strong predictive capabilities underscore its potential for real-world contaminant detection, offering a reliable solution for complex analytical environments.
集成先进的化学计量学和机器学习技术:用未修饰的碳糊电极进行苯胺检测的堆叠模型和XGBoost动态校正
本研究提出了一种新的化学计量学方法,用于使用未修饰的碳糊电极(CPE)精确可靠地定量苯胺,即使在存在干扰物质(如苯酚)的情况下。该方法将偏最小二乘(PLS)、随机森林(RF)和脊回归(ridge regression)集成在一个堆叠模型框架中,并结合粒子群优化(PSO)进行潜在选择。为了提高预测精度,采用了基于XGBoost的动态校正,有效地减小了残差,提高了模型的鲁棒性。该模型在训练数据集(R2 = 0.9993, RMSE = 0.6260, MAE = 0.4773)、检验数据集(R2 = 0.9979, RMSE = 0.7616, MAE = 0.6839)和交叉验证数据集(R2 = 0.9988, RMSE = 0.8312, MAE = 0.5467)上均表现出良好的性能,验证了模型的稳定性和可靠性。高决定系数(R2),以及低均方根误差(RMSE)和平均绝对偏差(MAE)值,强调了该模型的强大预测能力及其适应复杂电化学相互作用的能力。此外,计算的回收率和公差限制表明在不同浓度水平下具有高精度和一致性。利用未经修改的EPC,这种方法为苯胺定量提供了一种经济、敏感和选择性的策略,使其特别适合环境和工业监测。该模型强大的预测能力强调了其在现实世界污染物检测中的潜力,为复杂的分析环境提供了可靠的解决方案。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Optik
Optik 物理-光学
CiteScore
6.90
自引率
12.90%
发文量
1471
审稿时长
46 days
期刊介绍: Optik publishes articles on all subjects related to light and electron optics and offers a survey on the state of research and technical development within the following fields: Optics: -Optics design, geometrical and beam optics, wave optics- Optical and micro-optical components, diffractive optics, devices and systems- Photoelectric and optoelectronic devices- Optical properties of materials, nonlinear optics, wave propagation and transmission in homogeneous and inhomogeneous materials- Information optics, image formation and processing, holographic techniques, microscopes and spectrometer techniques, and image analysis- Optical testing and measuring techniques- Optical communication and computing- Physiological optics- As well as other related topics.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信