Bayesian optimization with Optuna for enhanced soil nutrient prediction: a comparative study with genetic algorithm and particle swarm optimization

IF 5.7 Q1 AGRICULTURAL ENGINEERING
Bamidele A. Dada , Nnamdi I. Nwulu , Seun O. Olukanmi
{"title":"Bayesian optimization with Optuna for enhanced soil nutrient prediction: a comparative study with genetic algorithm and particle swarm optimization","authors":"Bamidele A. Dada ,&nbsp;Nnamdi I. Nwulu ,&nbsp;Seun O. Olukanmi","doi":"10.1016/j.atech.2025.101136","DOIUrl":null,"url":null,"abstract":"<div><div>Optimizing soil nutrient prediction models is important for achieving maximum agricultural output and sustainability while also ensuring effective resource management and environmental protection, as demonstrated by a case study in Johannesburg, South Africa. We implemented machine learning (ML), optimization, geographic information systems, and remote sensing. This research investigates the effectiveness of ML algorithms, including random forest (RF), Adaboost (ADB), gradient boosting (GB), and XGBoost (XGB), when used with high-resolution earth observation data. In addition, it examines 2,000 random surface soil samples, ranging from 0 to 20 cm, that were optimized using genetic algorithms (GA), particle swarm optimization (PSO), and Optuna. We train them with 70 % of the data. The investigation confirms that Optuna-optimized models are at least 13 % more precise than GA and PSO models. The concordance correlation coefficient (CCC), R-squared (R²), and mean absolute percentage error (MAPE) increased, while the root mean squared error (RMSE) and mean absolute error (MAE) decreased. Optuna's tree-structured Parzen estimator (TPE) and pruning algorithms are employed to generate more precise estimates of soil nutrients. The majority of models are reduced, computation is expedited, and hyperparameters are enhanced. In the context of precision agriculture, these developments are directly applicable because they enable data-driven fertiliser management, reduce waste, and increase yields. Improved nutrient prediction is also advantageous from an environmental perspective, as it reduces the need for superfluous fertilizer applications and prevents discharge caused by excess fertilizers. Further research will be conducted on reinforcement learning for adaptive searching, multi-objective optimization, and the facilitation of hyperparameter tuning to develop more precise models for predicting soil nutrients.</div></div>","PeriodicalId":74813,"journal":{"name":"Smart agricultural technology","volume":"12 ","pages":"Article 101136"},"PeriodicalIF":5.7000,"publicationDate":"2025-06-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Smart agricultural technology","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2772375525003685","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURAL ENGINEERING","Score":null,"Total":0}
引用次数: 0

Abstract

Optimizing soil nutrient prediction models is important for achieving maximum agricultural output and sustainability while also ensuring effective resource management and environmental protection, as demonstrated by a case study in Johannesburg, South Africa. We implemented machine learning (ML), optimization, geographic information systems, and remote sensing. This research investigates the effectiveness of ML algorithms, including random forest (RF), Adaboost (ADB), gradient boosting (GB), and XGBoost (XGB), when used with high-resolution earth observation data. In addition, it examines 2,000 random surface soil samples, ranging from 0 to 20 cm, that were optimized using genetic algorithms (GA), particle swarm optimization (PSO), and Optuna. We train them with 70 % of the data. The investigation confirms that Optuna-optimized models are at least 13 % more precise than GA and PSO models. The concordance correlation coefficient (CCC), R-squared (R²), and mean absolute percentage error (MAPE) increased, while the root mean squared error (RMSE) and mean absolute error (MAE) decreased. Optuna's tree-structured Parzen estimator (TPE) and pruning algorithms are employed to generate more precise estimates of soil nutrients. The majority of models are reduced, computation is expedited, and hyperparameters are enhanced. In the context of precision agriculture, these developments are directly applicable because they enable data-driven fertiliser management, reduce waste, and increase yields. Improved nutrient prediction is also advantageous from an environmental perspective, as it reduces the need for superfluous fertilizer applications and prevents discharge caused by excess fertilizers. Further research will be conducted on reinforcement learning for adaptive searching, multi-objective optimization, and the facilitation of hyperparameter tuning to develop more precise models for predicting soil nutrients.
基于Optuna的贝叶斯优化增强土壤养分预测:与遗传算法和粒子群优化的比较研究
南非约翰内斯堡的一个案例研究表明,优化土壤养分预测模型对于实现农业产量最大化和可持续性,同时确保有效的资源管理和环境保护非常重要。我们实现了机器学习(ML)、优化、地理信息系统和遥感。本研究探讨了ML算法的有效性,包括随机森林(RF)、Adaboost (ADB)、梯度增强(GB)和XGBoost (XGB),当与高分辨率地球观测数据一起使用时。此外,它还检查了2000个随机的表层土壤样本,范围从0到20厘米,这些样本使用遗传算法(GA)、粒子群优化(PSO)和Optuna进行了优化。我们用70%的数据训练它们。调查证实,optuna优化模型比GA和PSO模型至少精确13%。一致性相关系数(CCC)、R平方(R²)和平均绝对百分比误差(MAPE)增加,均方根误差(RMSE)和平均绝对误差(MAE)降低。Optuna的树状结构Parzen估计器(TPE)和修剪算法被用来产生更精确的土壤养分估计。简化了大多数模型,加快了计算速度,增强了超参数。在精准农业的背景下,这些发展可以直接应用,因为它们可以实现数据驱动的肥料管理,减少浪费,提高产量。从环境的角度来看,改进的养分预测也是有利的,因为它减少了对多余肥料施用的需求,并防止了过量肥料造成的排放。将进一步研究自适应搜索、多目标优化和超参数调整的强化学习,以开发更精确的土壤养分预测模型。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
4.20
自引率
0.00%
发文量
0
×
引用
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学术文献互助群
群 号:604180095
Book学术官方微信