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 条
  • [1] Evaluating an intervention to reduce lameness in dairy cattle
    Main, D. C. J.
    Leach, K. A.
    Barker, Z. E.
    Sedgwick, A. K.
    Maggs, C. M.
    Bell, N. J.
    Whay, H. R.
    [J]. JOURNAL OF DAIRY SCIENCE, 2012, 95 (06) : 2946 - 2954
  • [2] Application of machine-learning algorithms to predict calving difficulty in Holstein dairy cattle
    Avizheh, Mahdieh
    Dadpasand, Mohammad
    Dehnavi, Elena
    Keshavarzi, Hamideh
    [J]. ANIMAL PRODUCTION SCIENCE, 2023, 63 (11) : 1095 - 1104
  • [3] Lameness in dairy cattle
    Ward, WR
    [J]. IRISH VETERINARY JOURNAL, 2001, 54 (03) : 129 - +
  • [4] Lameness in dairy cattle
    Scott, PR
    [J]. BRITISH VETERINARY JOURNAL, 1996, 152 (01): : 11 - 12
  • [5] Machine learning approaches for the prediction of lameness in dairy cows
    Shahinfar, S.
    Khansefid, M.
    Haile-Mariam, M.
    Pryce, J. E.
    [J]. ANIMAL, 2021, 15 (11)
  • [6] Treating lameness in dairy cattle
    Remnant, J.
    Thomas, H.
    Maxwell, O.
    Huxley, J.
    [J]. CATTLE PRACTICE, 2016, 24 : 86 - 86
  • [7] LAMENESS IN DAIRY-CATTLE
    LOGUE, DN
    OFFER, JE
    KEMPSON, SA
    [J]. IRISH VETERINARY JOURNAL, 1993, 46 (02) : 47 - 58
  • [8] Costs of lameness in dairy cattle
    不详
    [J]. VETERINARY RECORD, 1999, 144 (10) : 247 - 247
  • [9] LAMENESS IN DAIRY-CATTLE
    RUSSELL, AM
    [J]. VETERINARY RECORD, 1976, 99 (16) : 323 - 323
  • [10] A Deep Learning Framework for Improving Lameness Identification in Dairy Cattle
    Karoui, Yasmine
    Jacques, Amanda A. Boatswain
    Diallo, Abdoulaye Banire
    Shepley, Elise
    Vasseur, Elsa
    [J]. THIRTY-FIFTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, THIRTY-THIRD CONFERENCE ON INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE AND THE ELEVENTH SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2021, 35 : 15811 - 15812