AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
PDF (882.2 KB)
Collect
Submit Manuscript AI Chat Paper
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Open Access

Optimized machine learning-collaborative filtering model for mastitis prediction in dairy cows

Beijing Key Laboratory of Big Data Technology for Food Safety, Beijing Technology and Business University, Beijing 100048, China
College of Engineering, China Agricultural University, Beijing 100083, China
State Key Laboratory of Veterinary Public Health and Safety, Beijing 100193, China
National Technology Innovation Center for Dairy, Hohhot 010110, China
Inner Mongolia Yili Industrial Group Co. Ltd., Hohhot 010110, China
Optimization of Inner Mongolia Animal Husbandry Co. Ltd., Hohhot 010000, China
College of Veterinary Medicine, China Agricultural University, Beijing 100193, China
Show Author Information

Abstract

Mastitis is a major disease affecting dairy cow health and milk production. This study established an integrated machine learning (ML) model combining herd- and individual-level data to achieve efficient and balanced prediction of clinical mastitis. Data were collected from 5284 lactating Holstein cows on two farms in southern and northern China. Five feature processing methods—recursive feature elimination (RFE), contrastive learning (CL), slopes and intercept, milk-conductivity ratio, and differences—were evaluated with four ML algorithms: Support vector machine (SVM), random forest (RF), XGBoost, and backpropagation neural network (BPNN). Among them, the XGBoost model with the milk-conductivity ratio feature achieved the best performance, with a sensitivity of 0.81 and specificity of 0.75. To further address the imbalance between sensitivity and specificity, collaborative filtering (CF) was introduced into the XGBoost model to incorporate both herd and individual cow information. The resulting XGBoost–CF model improved sensitivity to 0.83 and specificity to 0.87, enhancing the model’s ability to identify both healthy and diseased cows. This integrated ML–CF framework provides an effective strategy for early mastitis prediction, offering practical support for intelligent dairy herd management and precision livestock farming.

References

【1】
【1】
 
 
International Journal of Agricultural and Biological Engineering
Pages 21-25

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
Wu J, Liu Y, Zheng Y, et al. Optimized machine learning-collaborative filtering model for mastitis prediction in dairy cows. International Journal of Agricultural and Biological Engineering, 2026, 19(1): 21-25. https://doi.org/10.25165/j.ijabe.20261901.10304

3

Views

1

Downloads

0

Crossref

0

Web of Science

0

Scopus

Received: 30 October 2025
Accepted: 20 January 2026
Published: 28 February 2026
© The Author(s) 2026

We adopt the latest version of license CC BY 4.0, https://creativecommons.org/licenses/by/4.0/