School of Mathematics and Statistics, University College Dublin, Dublin D04 V1W8, Ireland; Teagasc, Animal & Grassland Research and Innovation Centre, Moorepark, Fermoy P61 P302, Co. Cork, Ireland.
School of Mathematics and Statistics, University College Dublin, Dublin D04 V1W8, Ireland.
J Dairy Sci. 2023 Jun;106(6):4232-4244. doi: 10.3168/jds.2022-22394. Epub 2023 Apr 25.
Body condition score (BCS) is a subjective estimate of body reserves in cows. Body condition score and its change in early lactation have been associated with cow fertility and health. The aim of the present study was to estimate change in BCS (ΔBCS) using mid-infrared spectra of the milk, with a particular focus on estimating ΔBCS in cows losing BCS at the fastest rate (i.e., the cows most of interest to the producer). A total of 73,193 BCS records (scale 1 to 5) from 6,572 cows were recorded. Daily BCS was interpolated from cubic splines fitted through the BCS records, and subsequently used to calculate daily ΔBCS. Body condition score change records were merged with milk mid-infrared spectra recorded on the same week. Both morning (a.m.) and evening (p.m.) spectra were available. Two different statistical methods were used to estimate ΔBCS: partial least squares regression and a neural network (NN). Several combinations of variables were included as model features, such as days in milk (DIM) only, a.m. spectra only and DIM, p.m. spectra only and DIM, and a.m. and p.m. spectra as well as DIM. The data used to estimate ΔBCS were either based on the first 120 DIM or all 305 DIM. Daily ΔBCS had a standard deviation of 1.65 × 10 BCS units in the 305 DIM data set and of 1.98 × 10 BCS units in the 120 DIM data set. Each data set was divided into 4 sub-data sets, 3 of which were used for training the prediction model and the fourth to test it. This process was repeated until all the sub-data sets were considered as the test data set once. Using all 305 DIM, the lowest root mean square error of validation (RMSEV; 0.96 × 10 BCS units) and the strongest correlation between actual and estimated ΔBCS (0.82) was achieved with NN using a.m. and p.m. spectra and DIM. Using the 120 DIM data, the lowest RMSEV (0.98 × 10 BCS units) and the strongest correlation between actual and estimated ΔBCS (0.87) was achieved with NN using DIM and either a.m. spectra only or a.m. and p.m. spectra together. The RMSEV for records in the lowest 2.5% ΔBCS percentile per DIM in early lactation was reduced up to a maximum of 13% when spectra and DIM were both considered in the model compared with a model that considered just DIM. The performance of the NN using DIM and a.m. spectra only with the 120 DIM data was robust across different strata of farm, parity, year of sampling, and breed. Results from the present study demonstrate the ability of mid-infrared spectra of milk coupled with machine learning techniques to estimate ΔBCS; specifically, the inclusion of spectral data reduced the RMSEV over and above using DIM alone, particularly for cows losing BCS at the fastest rate. This approach can be used to routinely generate estimates of ΔBCS that can subsequently be used for farm decisions.
体况评分(BCS)是对奶牛体储备的主观估计。BCS及其在泌乳早期的变化与奶牛的繁殖力和健康有关。本研究的目的是使用牛奶的中红外光谱估计 BCS 的变化(ΔBCS),特别关注估计以最快速度失去 BCS 的奶牛的ΔBCS(即对生产者最感兴趣的奶牛)。共记录了 6572 头奶牛的 73193 个 BCS 记录(范围 1 到 5)。通过对 BCS 记录进行三次样条拟合来插值每日 BCS,随后用于计算每日 ΔBCS。BCS 变化记录与同一周记录的牛奶中红外光谱合并。同时提供了上午(a.m.)和晚上(p.m.)的光谱。使用了两种不同的统计方法来估计 ΔBCS:偏最小二乘回归和神经网络(NN)。包括了多种变量组合作为模型特征,例如仅 DIM、仅上午光谱、DIM、仅下午光谱、DIM、上午和下午光谱以及 DIM。用于估计 ΔBCS 的数据基于前 120 天 DIM 或全部 305 天 DIM。在 305 天 DIM 数据集和 120 天 DIM 数据集中,每日 ΔBCS 的标准差分别为 1.65×10 BCS 单位和 1.98×10 BCS 单位。每个数据集被分为 4 个子数据集,其中 3 个子数据集用于训练预测模型,第四个用于测试。这个过程一直重复,直到所有子数据集都被视为一次测试数据集。使用全部 305 天 DIM,使用上午和下午光谱以及 DIM 的 NN 达到了最低验证均方根误差(RMSEV;0.96×10 BCS 单位)和实际与估计的 ΔBCS 之间最强的相关性(0.82)。使用 120 天 DIM 数据,使用 DIM 以及仅上午光谱或上午和下午光谱的 NN 达到了最低 RMSEV(0.98×10 BCS 单位)和实际与估计的 ΔBCS 之间最强的相关性(0.87)。与仅考虑 DIM 的模型相比,在模型中同时考虑光谱和 DIM 时,泌乳早期每个 DIM 最低 2.5%ΔBCS 百分位记录的 RMSEV 最多可降低 13%。使用仅 DIM 和上午光谱的 NN 对 120 天 DIM 数据的性能在不同的农场、胎次、采样年份和品种之间具有稳健性。本研究的结果表明,牛奶中红外光谱与机器学习技术相结合能够估计 ΔBCS;具体来说,与仅使用 DIM 相比,包含光谱数据降低了 RMSEV,特别是对于以最快速度失去 BCS 的奶牛。该方法可用于常规生成 ΔBCS 的估计值,随后可用于农场决策。