Predicting postpartum diseases in Holstein cows using milk spectra and machine learning-Retrospective assessment from diagnosis date.

IF 4.4 1区 农林科学 Q1 AGRICULTURE, DAIRY & ANIMAL SCIENCE
D Lin, J Li, J A Seminara, J A A McArt
{"title":"Predicting postpartum diseases in Holstein cows using milk spectra and machine learning-Retrospective assessment from diagnosis date.","authors":"D Lin, J Li, J A Seminara, J A A McArt","doi":"10.3168/jds.2024-26216","DOIUrl":null,"url":null,"abstract":"<p><p>Dairy cows commonly experience health disorders in the early-lactation period. Although Fourier-transform infrared (FTIR) spectroscopy offers a noninvasive and cost-effective method for analyzing milk composition, its potential in predicting subsequent early-lactation diseases has yet to be adequately explored. This study aimed to uncover the ability of milk FTIR spectra to predict postpartum diseases in 1,162 Holstein cows from a commercial dairy farm in Cayuga County, NY. We collected proportional milk samples daily on cows in the early-lactation pen and stored milk at 4°C until analysis via FTIR spectroscopy. Cows were monitored through 30 DIM and classified as healthy (n = 825; no adverse health events) or diseased (n = 311; diagnosis of clinical ketosis, metritis, displaced abomasum, or mastitis, or any combination of these). We developed predictive models for 8 distinct time periods preceding the diagnosis date (>10 d, 10-8 d, 7-6 d, 5-4 d, 3 d, 2 d, 1 d, and 0 d), using regression, machine learning, and deep-learning methods applied to milk FTIR spectral data. Model performance was evaluated through a repeated down-sampled double cross-validation framework and permutation tests. Our results showed that progressive changes in spectral regions related to the absorbance peaks of fat, protein, and lactose are correlated with disease progression, leading to an increase in average area under the receiver operating characteristic curve (AUROC) from 0.50 (>10 d before diagnosis) to 0.72 (1 d prior) and 0.76 (the day of diagnosis) across all model types. Partial least squares-discriminant analysis (PLS-DA) models using milk FTIR spectra achieved an average AUROC of 0.71 from 7 d before diagnosis, outperforming models based on cow-level features (0.62) or combined with spectra-predicted milk major components (0.67). Among spectral models, PLS-DA reached the highest average AUROC (0.74), followed by long short-term memory (0.72), and surpassed ridge regression (0.71) and random forest (0.69). These findings highlight the effectiveness of using milk FTIR spectra to predict upcoming health conditions in early-lactation Holstein dairy cows, although broader evaluation is necessary to assess generalizability and on-farm utility.</p>","PeriodicalId":354,"journal":{"name":"Journal of Dairy Science","volume":" ","pages":""},"PeriodicalIF":4.4000,"publicationDate":"2025-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Dairy Science","FirstCategoryId":"97","ListUrlMain":"https://doi.org/10.3168/jds.2024-26216","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, DAIRY & ANIMAL SCIENCE","Score":null,"Total":0}
引用次数: 0

Abstract

Dairy cows commonly experience health disorders in the early-lactation period. Although Fourier-transform infrared (FTIR) spectroscopy offers a noninvasive and cost-effective method for analyzing milk composition, its potential in predicting subsequent early-lactation diseases has yet to be adequately explored. This study aimed to uncover the ability of milk FTIR spectra to predict postpartum diseases in 1,162 Holstein cows from a commercial dairy farm in Cayuga County, NY. We collected proportional milk samples daily on cows in the early-lactation pen and stored milk at 4°C until analysis via FTIR spectroscopy. Cows were monitored through 30 DIM and classified as healthy (n = 825; no adverse health events) or diseased (n = 311; diagnosis of clinical ketosis, metritis, displaced abomasum, or mastitis, or any combination of these). We developed predictive models for 8 distinct time periods preceding the diagnosis date (>10 d, 10-8 d, 7-6 d, 5-4 d, 3 d, 2 d, 1 d, and 0 d), using regression, machine learning, and deep-learning methods applied to milk FTIR spectral data. Model performance was evaluated through a repeated down-sampled double cross-validation framework and permutation tests. Our results showed that progressive changes in spectral regions related to the absorbance peaks of fat, protein, and lactose are correlated with disease progression, leading to an increase in average area under the receiver operating characteristic curve (AUROC) from 0.50 (>10 d before diagnosis) to 0.72 (1 d prior) and 0.76 (the day of diagnosis) across all model types. Partial least squares-discriminant analysis (PLS-DA) models using milk FTIR spectra achieved an average AUROC of 0.71 from 7 d before diagnosis, outperforming models based on cow-level features (0.62) or combined with spectra-predicted milk major components (0.67). Among spectral models, PLS-DA reached the highest average AUROC (0.74), followed by long short-term memory (0.72), and surpassed ridge regression (0.71) and random forest (0.69). These findings highlight the effectiveness of using milk FTIR spectra to predict upcoming health conditions in early-lactation Holstein dairy cows, although broader evaluation is necessary to assess generalizability and on-farm utility.

利用牛奶光谱和机器学习预测荷斯坦奶牛产后疾病——从诊断日期开始的回顾性评估。
奶牛在哺乳期早期通常会出现健康问题。虽然傅里叶变换红外(FTIR)光谱提供了一种无创和经济有效的方法来分析牛奶成分,但其在预测随后的早期哺乳疾病方面的潜力尚未得到充分的探索。本研究旨在揭示牛奶FTIR光谱预测纽约州卡尤加县一家商业奶牛场1162头荷斯坦奶牛产后疾病的能力。我们每天在泌乳早期的奶牛栏中收集相应比例的牛奶样本,并将牛奶存放在4°C,直到通过FTIR光谱分析。通过30头DIM对奶牛进行监测,并将其分类为健康(n = 825,无不良健康事件)或患病(n = 311,诊断为临床酮症、子宫炎、皱胃移位或乳腺炎,或这些疾病的任何组合)。我们利用回归、机器学习和深度学习方法对牛奶FTIR光谱数据进行分析,建立了诊断日期前8个不同时间段(10- 10天、10-8天、7-6天、5-4天、3天、2天、1天和0天)的预测模型。通过重复的下采样双交叉验证框架和排列测试来评估模型的性能。我们的研究结果显示,与脂肪、蛋白质和乳糖吸光度峰相关的光谱区域的渐进式变化与疾病进展相关,导致所有模型类型的受试者工作特征曲线(AUROC)下的平均面积从0.50(诊断前10天)增加到0.72(诊断前1天)和0.76(诊断当天)。使用牛奶FTIR光谱的偏最小二乘判别分析(PLS-DA)模型在诊断前7天的平均AUROC为0.71,优于基于奶牛水平特征的模型(0.62)或结合光谱预测牛奶主要成分的模型(0.67)。光谱模型中PLS-DA平均AUROC最高(0.74),长短期记忆次之(0.72),超过岭回归(0.71)和随机森林(0.69)。这些发现强调了利用牛奶FTIR光谱预测泌乳早期荷斯坦奶牛健康状况的有效性,尽管需要更广泛的评估来评估其普遍性和农场实用性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Journal of Dairy Science
Journal of Dairy Science 农林科学-奶制品与动物科学
CiteScore
7.90
自引率
17.10%
发文量
784
审稿时长
4.2 months
期刊介绍: The official journal of the American Dairy Science Association®, Journal of Dairy Science® (JDS) is the leading peer-reviewed general dairy research journal in the world. JDS readers represent education, industry, and government agencies in more than 70 countries with interests in biochemistry, breeding, economics, engineering, environment, food science, genetics, microbiology, nutrition, pathology, physiology, processing, public health, quality assurance, and sanitation.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信