VistaMilk SFI Research Centre, Teagasc Moorepark, Fermoy, Co. Cork, P61 C996, Ireland; School of Computer Science, University College Dublin, Belfield, D04 V1W8, Ireland; Insight Centre for Data Analytics, University College Dublin, Belfield, Dublin 4, D04 N2E5, Ireland.
VistaMilk SFI Research Centre, Teagasc Moorepark, Fermoy, Co. Cork, P61 C996, Ireland; School of Computer Science, University College Dublin, Belfield, D04 V1W8, Ireland; Insight Centre for Data Analytics, University College Dublin, Belfield, Dublin 4, D04 N2E5, Ireland.
J Dairy Sci. 2023 Jul;106(7):4978-4990. doi: 10.3168/jds.2022-22803. Epub 2023 Jun 1.
Subclinical mastitis in cows affects their health, well-being, longevity, and performance, leading to reduced productivity and profit. Early prediction of subclinical mastitis can enable dairy farmers to perform interventions to mitigate its effect. The present study investigated how well predictive models built using machine learning techniques can detect subclinical mastitis up to 7 d before its occurrence. The data set used consisted of 1,346,207 milk-day (i.e., a day when milk was collected on both morning and evening) records spanning 9 yr from 2,389 cows producing on 7 Irish research farms. Individual cow composite milk yield and maximum milk flow were available twice daily, whereas milk composition (i.e., fat, lactose, protein) and somatic cell count (SCC) were collected once per week. Other features describing parity, calving dates, predicted transmitting ability for SCC, body weight, and history of subclinical mastitis were also available. The results of the study showed that a gradient boosting machine model trained to predict the onset of subclinical mastitis 7 d before a subclinical case occurs achieved a sensitivity and specificity of 69.45 and 95.64%, respectively. Reduced data collection frequency, where milk composition and SCC were recorded only every 15, 30, 45, and 60 d was simulated by masking data, to reflect the frequency of recording of this data on commercial dairy farms in Ireland. The sensitivity and specificity scores reduced as recording frequency reduced with respective scores of 66.93 and 80.43% when milk composition and SCC were recorded just every 60 d. Results demonstrate that models built on data that could be recorded routinely available on commercial dairy farms, can achieve useful predictive ability of subclinical mastitis even with reduced frequency of milk composition and SCC recording.
奶牛亚临床乳腺炎影响其健康、福利、寿命和生产性能,导致生产力和利润下降。早期预测亚临床乳腺炎可以使奶农能够进行干预以减轻其影响。本研究探讨了使用机器学习技术构建的预测模型在亚临床乳腺炎发生前 7 天检测亚临床乳腺炎的效果如何。使用的数据集由来自 7 个爱尔兰研究农场的 2389 头奶牛在 9 年期间的 1346207 个产奶日(即每天早晚收集牛奶的日子)记录组成。每天两次提供个体奶牛综合产奶量和最大产奶量,而每周收集一次牛奶成分(即脂肪、乳糖、蛋白质)和体细胞计数(SCC)。还提供了描述胎次、产犊日期、SCC 预测传递能力、体重和亚临床乳腺炎病史的其他特征。研究结果表明,训练来预测亚临床乳腺炎发生前 7 天的亚临床病例的梯度提升机模型的灵敏度和特异性分别为 69.45%和 95.64%。通过屏蔽数据模拟了减少数据采集频率的情况,即仅每 15、30、45 和 60 天记录一次牛奶成分和 SCC,以反映爱尔兰商业奶牛场记录这些数据的频率。随着记录频率的降低,灵敏度和特异性评分也随之降低,当仅每 60 天记录一次牛奶成分和 SCC 时,相应的评分分别为 66.93%和 80.43%。结果表明,即使牛奶成分和 SCC 的记录频率降低,基于商业奶牛场常规记录的数据构建的模型也可以实现对亚临床乳腺炎的有用预测能力。