Use of different machine learning algorithms and their ability to predict organic matter digestibility in grass from constituent or spectral data

Read full text
Authors: Bernd Ollertz-Mertens, H. Volden, Egil Prestløkken, Matthew F. Digman, Kenneth F. Kalscheur, Benjamin Büchner
Cited by: 1
References: 53

Abstract

Organic matter digestibility (OMD) at harvest is the main factor determining nutritive values of grass silage. The OMD declines rapidly throughout the growing season, reducing availability of energy for production of milk and meat, potentially decreasing feed efficiency and increasing methane yield. Thus, information on OMD is critical to determining when to harvest grass for silage. The objective of this study was to identify machine learning (ML) algorithms best suited to predict OMD from field-acquired near-infrared spectroscopy (NIRS) data. Fourteen different ML models were trained on constituent predictions from NIRS devices. Furthermore, ten models were trained on spectral data from said devices. Open-source weather data was also included in those models. Model performance was evaluated based on the coefficient of determination (R²) and the root mean squared error (RMSE). Samples from first to fourth cuts were collected from eighteen fields, on six different farms, in three different years. Ten forage constituents were predicted using NIRS, moreover spectral data were recorded. Laboratory-based NIRS predictions served as reference data. Using constituent data as an input, seven models reached the target of R² above 0.7, but none reached the target of RMSE ≤3. Gradient boosting regression performed best of all considered models in this application (R² ≈ 0.82-0.86; RMSE ≈ 3% of dry matter). Using raw spectral data did not improve performance compared to NIRS-predicted constituent data. However, reducing dimensions using principal component regression resulted in the best-performing model overall, showing an RMSE of 2.76% of dry matter (DM). Based on the results, it is concluded that NIRS technology is able to predict OMD changes in-field in real-time, allowing farmers to adjust their management accordingly. Continued work on those models to improve their prediction accuracy and widen their usability with respect to areas, swards, and farm setups is proposed.

Fields of Study & Subjects

Soil Geostatistics and Mapping Spectroscopy and Chemometric Analyses Remote Sensing in Agriculture

Publication details

Journal / source
Smart Agricultural Technology
Publisher
Elsevier BV
Volume
13
Pages
101792–101792
Publication date
10 January 2026
Language
EN