Environmental Research Letters (Jan 2019)

Maize yield and nitrate loss prediction with machine learning algorithms

  • Mohsen Shahhosseini,
  • Rafael A Martinez-Feria,
  • Guiping Hu,
  • Sotirios V Archontoulis

DOI
https://doi.org/10.1088/1748-9326/ab5268
Journal volume & issue
Vol. 14, no. 12
p. 124026

Abstract

Read online

Pre-growing season prediction of crop production outcomes such as grain yields and nitrogen (N) losses can provide insights to farmers and agronomists to make decisions. Simulation crop models can assist in scenario planning, but their use is limited because of data requirements and long runtimes. Thus, there is a need for more computationally expedient approaches to scale up predictions. We evaluated the potential of four machine learning (ML) algorithms (LASSO Regression, Ridge Regression, random forests, Extreme Gradient Boosting, and their ensembles) as meta-models for a cropping systems simulator (APSIM) to inform future decision support tool development. We asked: (1) How well do ML meta-models predict maize yield and N losses using pre-season information? (2) How many data are needed to train ML algorithms to achieve acceptable predictions? (3) Which input data variables are most important for accurate prediction? And (4) do ensembles of ML meta-models improve prediction? The simulated dataset included more than three million data including genotype, environment and management scenarios. XGBoost was the most accurate ML model in predicting yields with a relative mean square error (RRMSE) of 13.5%, and Random forests most accurately predicted N loss at planting time, with a RRMSE of 54%. ML meta-models reasonably reproduced simulated maize yields using the information available at planting, but not N loss. They also differed in their sensitivities to the size of the training dataset. Across all ML models, yield prediction error decreased by 10%–40% as the training dataset increased from 0.5 to 1.8 million data points, whereas N loss prediction error showed no consistent pattern. ML models also differed in their sensitivities to input variables (weather, soil properties, management, initial conditions), thus depending on the data availability researchers may use a different ML model. Modest prediction improvements resulted from ML ensembles. These results can help accelerate progress in coupling simulation models and ML toward developing dynamic decision support tools for pre-season management.

Keywords