Evaluating machine learning algorithms based on thermal imaging and milk-based parameters to identify subclinical mastitis in dairy cows.

IF 3.9 2区 农林科学 Q1 VETERINARY SCIENCES
Veterinary Quarterly Pub Date : 2026-12-31 Epub Date: 2026-06-08 DOI:10.1080/01652176.2026.2685619
Sushil Paudyal, Rajesh Neupane, Bhuwan Shrestha, Hsin-I Chiang, Ashrant Aryal
{"title":"Evaluating machine learning algorithms based on thermal imaging and milk-based parameters to identify subclinical mastitis in dairy cows.","authors":"Sushil Paudyal, Rajesh Neupane, Bhuwan Shrestha, Hsin-I Chiang, Ashrant Aryal","doi":"10.1080/01652176.2026.2685619","DOIUrl":null,"url":null,"abstract":"<p><p>The objective was to evaluate the potential of machine learning algorithms utilizing thermal imaging and/or milk-based parameters for the identification of subclinical mastitis(SCM) in dairy cows. Holstein dairy cows (<i>n</i> = 194) were enrolled, and milk samples were collected from each quarter separately (<i>n</i> = 776 quarter-level samples) and analyzed for milk-based parameters. Four images per cow, representing all four quarters, were captured using a handheld infrared camera. Skin temperatures were extracted using Fluke Connect software, yielding 776 images for analysis. SCM was defined at the quarter level as SCC > 200,000 cells/mL, identifying 139 infected and 637 healthy quarters. The data were analyzed to test Random Forest Classifier(RFC), Logistic Regression Classifier, AdaBoost Classifier(ABC), and Naïve Bayes Classifier algorithms. The RFC models using milk features and temperature features achieved accuracy and precision scores of 0.88 and 0.88, respectively, yielding 0.90 AUC values, with high feature importance for milk lactose and SNF. Using only thermal imaging features, the ABC model yielded accuracy and precision of 0.82 and 0.67, respectively, with 0.56 AUC. We conclude that SCM prediction using machine learning algorithms is most promising when combined with thermal images and milk-based parameters. Future studies with larger datasets and refined methods for thermal image capture and analysis are warranted to validate these findings.</p>","PeriodicalId":51207,"journal":{"name":"Veterinary Quarterly","volume":"46 1","pages":"2685619"},"PeriodicalIF":3.9000,"publicationDate":"2026-12-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13248482/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Veterinary Quarterly","FirstCategoryId":"97","ListUrlMain":"https://doi.org/10.1080/01652176.2026.2685619","RegionNum":2,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/6/8 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"VETERINARY SCIENCES","Score":null,"Total":0}
引用次数: 0

Abstract

The objective was to evaluate the potential of machine learning algorithms utilizing thermal imaging and/or milk-based parameters for the identification of subclinical mastitis(SCM) in dairy cows. Holstein dairy cows (n = 194) were enrolled, and milk samples were collected from each quarter separately (n = 776 quarter-level samples) and analyzed for milk-based parameters. Four images per cow, representing all four quarters, were captured using a handheld infrared camera. Skin temperatures were extracted using Fluke Connect software, yielding 776 images for analysis. SCM was defined at the quarter level as SCC > 200,000 cells/mL, identifying 139 infected and 637 healthy quarters. The data were analyzed to test Random Forest Classifier(RFC), Logistic Regression Classifier, AdaBoost Classifier(ABC), and Naïve Bayes Classifier algorithms. The RFC models using milk features and temperature features achieved accuracy and precision scores of 0.88 and 0.88, respectively, yielding 0.90 AUC values, with high feature importance for milk lactose and SNF. Using only thermal imaging features, the ABC model yielded accuracy and precision of 0.82 and 0.67, respectively, with 0.56 AUC. We conclude that SCM prediction using machine learning algorithms is most promising when combined with thermal images and milk-based parameters. Future studies with larger datasets and refined methods for thermal image capture and analysis are warranted to validate these findings.

评估基于热成像和牛奶参数的机器学习算法,以识别奶牛的亚临床乳腺炎。
目的是评估利用热成像和/或基于牛奶的参数识别奶牛亚临床乳腺炎(SCM)的机器学习算法的潜力。选取荷斯坦奶牛(n = 194),每个季度分别采集牛奶样本(n = 776),分析乳基参数。使用手持式红外摄像机拍摄每头奶牛的四张图像,代表所有四个部分。使用Fluke Connect软件提取皮肤温度,产生776张图像用于分析。在季度水平上,SCM被定义为SCC bbb20万个细胞/mL,确定了139个感染和637个健康的季度。对数据进行分析,测试随机森林分类器(RFC)、逻辑回归分类器、AdaBoost分类器(ABC)和Naïve贝叶斯分类器算法。使用牛奶特征和温度特征的RFC模型的准确度和精密度得分分别为0.88和0.88,AUC值为0.90,对乳糖和SNF具有较高的特征重要性。仅使用热成像特征,ABC模型的准确度和精度分别为0.82和0.67,AUC为0.56。我们得出结论,当结合热图像和基于牛奶的参数时,使用机器学习算法的SCM预测最有希望。未来的研究需要更大的数据集和更精细的热图像捕获和分析方法来验证这些发现。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Veterinary Quarterly
Veterinary Quarterly VETERINARY SCIENCES-
CiteScore
13.10
自引率
1.60%
发文量
18
审稿时长
>24 weeks
期刊介绍: Veterinary Quarterly is an international open access journal which publishes high quality review articles and original research in the field of veterinary science and animal diseases. The journal publishes research on a range of different animal species and topics including: - Economically important species such as domesticated and non-domesticated farm animals, including avian and poultry diseases; - Companion animals (dogs, cats, horses, pocket pets and exotics); - Wildlife species; - Infectious diseases; - Diagnosis; - Treatment including pharmacology and vaccination
×
引用
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学术官方微信
小红书