Nitrous oxide prediction through machine learning and field-based experimentation: A novel strategy for data-driven insights
Applying machine learning to predict complex environmental phenomena like greenhouse gas emissions (GHG) is gaining significant attention. This study introduces innovative ensemble learning models that integrate the randomizable filter classifier (RFC), regression by discretization (RBD), and attribute-selected classifier (ASC) with the random forest (RF) algorithm, resulting in hybrid models (RFC-RF, RBD-RF, and ASC-RF). These models predicted nitrous oxide (N 2 O) and water vapor (H 2 O) emissions from agricultural soils. These model were benchmarked against a support vector regression (SVR) model. The dataset comprised 401 samples from potato fields in Prince Edward Island (PEI) and 122 samples from New Brunswick (NB), including measurements of N 2 O and H 2 O and related input variables such as soil moisture (SM), temperature ST, electrical conductivity (EC), wind speed, solar radiation, relative humidity, precipitation, air temperature (AT), dew point, vapor pressure deficit, and reference evapotranspiration. Feature selection and optimization of input scenarios were achieved using a combination of particle swarm optimization (PSO) and manual methods. Model performance was evaluated using multiple metrics: scatter plots, kite diagrams, density distribution histograms of relative percentage error, coefficient of determination (R 2 ), Nash–Sutcliffe efficiency coefficient (NSE), Percent of BIAS (PBIAS), coefficient of uncertainty at the 95% confidence level (U95%), Kling–Gupta efficiency (KGE), Willmott index of agreement (WI), and Legates and McCabe coefficient of efficiency (LME). Results demonstrated that the hybrid RFC-RF model outperformed the other models for N 2 O and H 2 O predictions in PEI and NB, followed by the RBD-RF, ASC-RF, and SVR models. The new models demonstrated good performance according to R 2 values, while the SVR model ranged from unacceptable to good. The study found that combining soil and climatic variables improved prediction accuracy, with ST, AT, and soil EC being the most influential variables. SHapley Additive exPlanations (SHAP) analysis confirmed the importance of ST for both N 2 O and H 2 O predictions. The findings underscore the significance of dataset length over input-output correlation and indicate that combining soil and climatic variables enhances model prediction accuracy. The developed models offer reliable and cost-effective tools for researchers, policymakers, and stakeholders to effectively predict and manage GHG in agricultural contexts. • Development of Novel Predictive Models: We introduced three innovative ensemble learning models, including the Randomizable Filter Classifier - Random Forest (RFC-RF), Regression by Discretization - Random Forest (RBD-RF), and Attribute-Selected Classifier - Random Forest (ASC-RF). These models were specifically designed to predict N 2 O and H 2 O fluxes in agricultural fields accurately. • Comprehensive and Diverse Dataset: Our study is based on a robust dataset comprising 401 samples from Prince Edward Island (PEI) and 122 samples from New Brunswick (NB), with a wide range of soil and climatic variables influencing GHGs. • Innovative Feature Selection Techniques: We employed Particle Swarm Optimization (PSO) and SHapley Additive exPlanations (SHAP) to optimize input scenarios and enhance model accuracy by identifying the most influential variables for N 2 O and H 2 O prediction in each study area. • High Performance of the Developed Models: Our findings indicate that the RFC-RF model consistently outperforms other models in terms of predictive accuracy for both N 2 O and H 2 O emissions across different study areas. • Enhanced Explainability of Model Outputs: The application of SHAP analysis allows for transparent interpretation of model predictions, highlighting the critical role of soil temperature and other key variables in influencing emissions. • Implications for Sustainable Agriculture: The insights from our research provide practical implications for decision-makers and stakeholders in the agricultural sector, supporting efforts toward GHG mitigation and the advancement of sustainable agricultural practices.
Authors
- Travis J. Esau (ORCID: https://orcid.org/0000-0002-1513-1471)
- Yulin Hu (ORCID: https://orcid.org/0000-0003-3525-5356)
- Aitazaz A. Farooque (ORCID: https://orcid.org/0000-0002-5353-6752)
- Muhammad Hassan (ORCID: https://orcid.org/0000-0001-8303-8351)
- Nauman Yaqoob
- Seyyed Ebrahim Hashemi Garmdareh (ORCID: https://orcid.org/0000-0003-3727-0111)
- Gurjit S. Randhawa
- Khabat Khosravi (ORCID: https://orcid.org/0000-0001-5773-4003)
- Asad T. Jappa
Institutions
- Razi University (IR)
- Dalhousie University (CA)
- University of Leicester (GB)
- University of Prince Edward Island (CA)
- University of Guelph (CA)
Publication Details
- Journal
- Atmospheric Environment X
- Published
- 2025-04-01
- DOI
- https://doi.org/10.1016/j.aeaoa.2025.100335
- Citations
- 2
- Primary Topic
- Water Quality Monitoring and Analysis
- Type
- article
- Field-Weighted Citation Impact
- 1.99