Early Detection Method for Subclinical Mastitis in Auto Milking Systems Using Machine Learning

Bovine mastitis is an inflammation of the udder or mammary gland and dairy farmers must control its occurrence to prevent economic losses. The introduction of auto milking systems makes management of farms and udder health more efficient and auto detection systems for common diseases in dairy farms, which are implemented auto milking systems and detect the diseases based on some measurements while milking, are needed. In this study, we propose a novel model for subclinical mastitis detection. Our dataset was collected from dairy farms in Japan and labeled using risk values calculated by a commercially available milk analyzer based on lactate dehydrogenase (LDH) in order to train our model. Several measurements that can be obtained from any auto milking system, such as electrical conductivity in milk, were used as time series features. The models were trained using machine learning (a support vector machine or random forest) and their performances were compared. Our model detects the onset of subclinical mastitis with an accuracy of 81% in terms of sensitivity and 46% precision. In addition, some cases of subclinical mastitis can be detected earlier than when using an alert system based on LDH. Our model can be expected to be improved and utilized in real dairy farms.

[1]  C. Clark,et al.  Development of a new clinical mastitis detection method for automatic milking systems. , 2018, Journal of dairy science.

[2]  T. Fujikawa,et al.  Rapid Communication: MiR-92a as a housekeeping gene for analysis of bovine mastitis-related microRNA in milk. , 2017, Journal of animal science.

[3]  T. Fujikawa,et al.  Inflammation-related microRNA expression level in the bovine milk is affected by mastitis , 2017, PloS one.

[4]  Henk Hogeveen,et al.  Bayesian integration of sensor information and a multivariate dynamic linear model for prediction of dairy cow mastitis. , 2016, Journal of dairy science.

[5]  Carla M. Duarte,et al.  Technological advances in bovine mastitis diagnosis , 2015, Journal of veterinary diagnostic investigation : official publication of the American Association of Veterinary Laboratory Diagnosticians, Inc.

[6]  Nazira Mammadova,et al.  Application of the Support Vector Machine to Predict Subclinical Mastitis in Dairy Cattle , 2013, TheScientificWorldJournal.

[7]  L. Tauer,et al.  The cost and management of different types of clinical mastitis in dairy cows estimated by dynamic programming. , 2011, Journal of dairy science.

[8]  Gaël Varoquaux,et al.  Scikit-learn: Machine Learning in Python , 2011, J. Mach. Learn. Res..

[9]  T. Larsen,et al.  Natural variation in biomarkers indicating mastitis in healthy cows. , 2011, The Journal of dairy research.

[10]  Witold R. Rudnicki,et al.  Feature Selection with the Boruta Package , 2010 .

[11]  W Steeneveld,et al.  Discriminating between true-positive and false-positive clinical mastitis alerts from automatic milking systems. , 2010, Journal of dairy science.

[12]  Joachim Krieter,et al.  Mastitis detection in dairy cows by application of neural networks , 2008 .

[13]  H Hogeveen,et al.  Electrical conductivity of milk: ability to predict mastitis status. , 2004, Journal of dairy science.

[14]  Satu Pyörälä,et al.  Indicators of inflammation in the diagnosis of mastitis. , 2003, Veterinary research.

[15]  T. Lam,et al.  Estimation of variance components for somatic cell counts to determine thresholds for uninfected quarters. , 1997, Journal of dairy science.

[16]  J. Hillerton,et al.  The effects of early antibiotic treatment following diagnosis of mastitis detected by a change in the electrical conductivity of milk. , 1997, Journal of dairy science.

[17]  Dennis L. Wilson,et al.  Asymptotic Properties of Nearest Neighbor Rules Using Edited Data , 1972, IEEE Trans. Syst. Man Cybern..

[18]  I. Tomek An Experiment with the Edited Nearest-Neighbor Rule , 1976 .