Evaluating machine learning algorithms to predict lameness in dairy cattle

被引:0
|
作者
Neupane, Rajesh [1 ]
Aryal, Ashrant [2 ]
Haeussermann, Angelika [3 ]
Hartung, Eberhard [3 ]
Pinedo, Pablo [4 ]
Paudyal, Sushil [1 ]
机构
[1] Texas A&M Univ, Dept Anim Sci, College Stn, TX 77843 USA
[2] Texas A&M Univ, Dept Construct Sci, College Stn, TX USA
[3] Univ Kiel, Dept Agr Engn, Kiel, Germany
[4] Colorado State Univ, Dept Anim Sci, Ft Collins, CO USA
来源
PLOS ONE | 2024年 / 19卷 / 07期
关键词
POSTURE; SYSTEM; GAIT;
D O I
10.1371/journal.pone.0301167
中图分类号
O [数理科学和化学]; P [天文学、地球科学]; Q [生物科学]; N [自然科学总论];
学科分类号
07 ; 0710 ; 09 ;
摘要
Dairy cattle lameness represents one of the common concerns in intensive and commercial dairy farms. Lameness is characterized by gait-related behavioral changes in cows and multiple approaches are being utilized to associate these changes with lameness conditions including data from accelerometers, and other precision technologies. The objective was to evaluate the use of machine learning algorithms for the identification of lameness conditions in dairy cattle. In this study, 310 multiparous Holstein dairy cows from a herd in Northern Colorado were affixed with a leg-based accelerometer (Icerobotics (R) Inc, Edinburg, Scotland) to obtain the lying time (min/d), daily steps count (n/d), and daily change (n/d). Subsequently, study cows were monitored for 4 months and cows submitted for claw trimming (CT) were differentiated as receiving corrective claw trimming (CCT) or as being diagnosed with a lameness disorder and consequent therapeutic claw trimming (TCT) by a certified hoof trimmer. Cows not submitted to CT were considered healthy controls. A median filter was applied to smoothen the data by reducing inherent variability. Three different machine learning (ML) models were defined to fit each algorithm which included the conventional features (containing daily lying, daily steps, and daily change derived from the accelerometer), slope features (containing features extracted from each variable in Conventional feature), or all features (3 simple features and 3 slope features). Random forest (RF), Naive Bayes (NB), Logistic Regression (LR), and Time series (ROCKET) were used as ML predictive approaches. For the classification of cows requiring CCT and TCT, ROCKET classifier performed better with accuracy (> 90%), ROC-AUC (> 74%), and F1 score (> 0.61) as compared to other algorithms. Slope features derived in this study increased the efficiency of algorithms as the better-performing models included All features explored. However, further classification of diseases into infectious and non-infectious events was not effective because none of the algorithms presented satisfactory model accuracy parameters. For the classification of observed cow locomotion scores into severely lame and moderately lame conditions, the ROCKET classifier demonstrated satisfactory accuracy (> 0.85), ROC-AUC (> 0.68), and F1 scores (> 0.44). We conclude that ML models using accelerometer data are helpful in the identification of lameness in cows but need further research to increase the granularity and accuracy of classification.
引用
收藏
页数:17
相关论文
共 50 条
  • [11] Factors associated with lameness in dairy cattle
    Blowey, R
    IN PRACTICE, 2005, 27 (03) : 154 - 162
  • [12] Lameness Detection as a Service: Application of Machine Learning to an Internet of Cattle
    Byabazaire, John
    Olariu, Cristian
    Taneja, Mohit
    Davy, Alan
    2019 16TH IEEE ANNUAL CONSUMER COMMUNICATIONS & NETWORKING CONFERENCE (CCNC), 2019,
  • [13] A system for identifying lameness in dairy cattle
    Rajkondawar, PG
    Tasch, U
    Lefcourt, AM
    Erez, B
    Dyer, RM
    Varner, MA
    APPLIED ENGINEERING IN AGRICULTURE, 2002, 18 (01) : 87 - 96
  • [14] Incidence and prevalence of lameness in dairy cattle
    Clarkson, MJ
    Downham, DY
    Faull, WB
    Hughes, JW
    Manson, FJ
    Merritt, JB
    Murray, RD
    Russell, WB
    Sutherst, JE
    Ward, WR
    VETERINARY RECORD, 1996, 138 (23) : 563 - 567
  • [15] Prediction of insemination outcomes in Holstein dairy cattle using alternative machine learning algorithms
    Shahinfar, Saleh
    Page, David
    Guenther, Jerry
    Cabrera, Victor
    Fricke, Paul
    Weigel, Kent
    JOURNAL OF DAIRY SCIENCE, 2014, 97 (02) : 731 - 742
  • [16] A lameness scoring system that uses posture and gait to predict dairy cattle reproductive performance
    Sprecher, DJ
    Hostetler, DE
    Kaneene, JB
    THERIOGENOLOGY, 1997, 47 (06) : 1179 - 1187
  • [17] Application of the Different Machine Learning Algorithms to Predict Dry Matter Intake in Feedlot Cattle
    Koskan, Ozgur
    Ergin, Malik
    Koknaroglu, Hayati
    JOURNAL OF AGRICULTURAL SCIENCES-TARIM BILIMLERI DERGISI, 2025, 31 (01): : 91 - 99
  • [18] Performances of several machine learning algorithms and of logistic regression to predict Fasciola hepatica in cattle
    Ergin, Malik
    Koskan, Oezguer
    PESQUISA AGROPECUARIA BRASILEIRA, 2024, 59
  • [19] Machine learning based fog computing assisted data-driven approach for early lameness detection in dairy cattle
    Taneja, Mohit
    Byabazaire, John
    Jalodia, Nikita
    Davy, Alan
    Olariu, Cristian
    Malone, Paul
    COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2020, 171
  • [20] An automatic lameness detection system for dairy cattle
    Sen Gupta, Gourab
    Dalbeth, Aaron
    Nel, Johann
    Mercer, Ken
    IEEE INSTRUMENTATION & MEASUREMENT MAGAZINE, 2020, 23 (06) : 31 - 40