JDS communications

Predicting classes of β-hydroxybutyrate concentrations in blood of dairy cows from milk mid-infrared spectra: Application of a weighted discriminant model addressing class imbalance.

M Lesnoff, C Grelet, V Wolf, L Millot, A Köck, J Leblois, B Bapst, M A Crowe,

SELMET, Université Montpellier, CIRAD, INRAE, Institut Agro, Montpellier, France, 34398. · Walloon Agricultural Research Center (CRA-W), Gembloux, Belgium, 5030.

Key points

From the paper's conclusion
  • These findings demonstrate that the use of weighting within discriminant methods is a valid option for the class prediction of asymmetrically distributed health biomarkers.

Abstract

Monitoring biomarkers in milk or blood is widely used to assess dairy cow health and to detect diseases such as (sub)clinical ketosis. Blood BHB is a key indicator of metabolic imbalance, and its prediction from milk Fourier-transform mid-infrared (FT-MIR) spectra has been extensively explored. However, most of the predictive models applied in spectrometry fail to achieve acceptable accuracy because of the highly skewed distribution of BHB concentrations (many blood samples have low concentrations, but a few have high concentrations). Imbalanced distributions complicate both quantitative and class modeling. Thus, the objective of this work was to undertake discrete predictions of BHB (low versus high level) by implementing a specific weighting in a usual discrimination algorithm to overcome the class imbalance between healthy cows and those suffering from hyperketonemia. The threshold of 1.2 mmol/L was used to distinguish low from high BHB, that is, absence or presence of hyperketonemia. The cleaned dataset combined 4,221 records comprising milk FT-MIR spectra and blood BHB content that were collected across 10 countries between 2013 and 2024, and in multiple breeds, and numerous research projects. Milk MIR spectra (selected wavenumber regions, second derivative Savitzky-Golay preprocessing) served as predictors. A replicated external herd validation strategy was implemented. The weighted model outperformed the standard model, achieving average intraclass error rates of around 18% on external test sets. It reached 82% accuracy, 83% sensitivity, and 81% specificity, with these results comparable to or better than previously published discriminant models, despite using only raw MIR spectra. These findings demonstrate that the use of weighting within discriminant methods is a valid option for the class prediction of asymmetrically distributed health biomarkers.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers