2025/12/17 by Facundo Lussich, Ryan Ackett, Jashanjeet Kaur Dhaliwal +2
Agricultural and Biological Sciences · Environmental Science · #Soil Carbon and Nitrogen Dynamics #Soil Geostatistics and Mapping #Soil and Water Nutrient Dynamics
paper · doi:10.1002/jeq2.70126
Abstract Accurate prediction of N 2 O emissions in agricultural systems is essential for developing effective climate‐smart practices. This study introduces a novel ensemble approach, termed the “Class‐Swap” machine learning model, which employs two independent Random Forest (RF) models trained separately on background and hot‐moment emissions. A statistical anomaly detection algorithm first classifies each flux observation, and the model then swaps between the two RF models accordingly, enabling emission‐specific predictions based on distinct biogeochemical drivers. The objective was to evaluate the performance of this approach against traditional RF modeling in predicting N 2 O fluxes from a long‐term continuous cotton crop rotation in west Tennessee, which includes different tillage, N fertilization, and cover cropping treatments. The Class‐Swap approach consistently outperformed traditional RF models on an independent unseen holdout dataset, achieving higher R 2 values (0.33–0.34 vs. 0.08–0.25) and lower root mean square error (9.8–9.9 vs. 10.5–11.6 g N 2 O‐N ha −1 day −1 ), while accurately capturing the magnitude and temporal dynamics of emissions—something traditional RF models failed to replicate. Key predictors varied by emission type: in the background emission model, moderate to high soil moisture (0.45–0.70 WFPS), soil , and increased soil CO 2 fluxes positively contributed to N 2 O fluxes; in the hot‐moment model, fluxes were primarily driven by large precipitation events and high soil moisture (>0.65 WFPS) conditions. This study underscores the effectiveness of differentiating between the distinct biogeochemical dynamics underlying background emissions and hot moments in predictive modeling. Further assessment across diverse sites, years, and agroecosystems remains necessary to validate the potential of the Class‐Swap approach as a robust alternative for predicting dynamic soil N 2 O fluxes.