Using sensor data patterns from an automatic milking system to develop predictive variables for classifying clinical mastitis and abnormal milk

  • Authors:
  • Claudia Kamphuis;Diederik Pietersma;Rik van der Tol;Martin Wiedemann;Henk Hogeveen

  • Affiliations:
  • Department of Farm Animal Health, Faculty of Veterinary Medicine, Utrecht University, Yalelaan 7, 3584 CL Utrecht, The Netherlands;Department of Farm Animal Health, Faculty of Veterinary Medicine, Utrecht University, Yalelaan 7, 3584 CL Utrecht, The Netherlands;Lely Industries N.V., Weverskade 110, 3147 PA Maassluis, The Netherlands;Landtechnischer Verein in Bayern e.V., Vöttinger Straíe 36, 85354 Freising Weihenstephan, Germany;Department of Farm Animal Health, Faculty of Veterinary Medicine, Utrecht University, Yalelaan 7, 3584 CL Utrecht, The Netherlands and Business Economics Group, Wageningen University, Hollandseweg ...

  • Venue:
  • Computers and Electronics in Agriculture
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Dairy farmers using automatic milking are able to manage mastitis successfully with the help of mastitis attention lists. These attention lists are generated with mastitis detection models that make use of sensor data obtained throughout each quarter milking. The models tend to be limited to using the maximum or average value of the sensor data pattern, potentially excluding other valuable information. They often put cows on the lists unnecessarily, and their sensitivity for abnormal milk classification is too low for automated separation. Therefore, we analyzed sensor data patterns within quarter milkings in order to identify potentially predictive variables for abnormal milk and clinical mastitis classification. The data used in this study was obtained at a commercial dairy farm in Germany in September 2002, where a German Simmental herd was milked by a Lely Astronaut system. In total, 3232 quarter milkings from 63 cows were analysed; 94 quarter milkings were defined as milk with abnormal homogeneity and 270 as clinical mastitis. A data flow diagram was developed to systematically describe the steps involved in the transformation of within quarter milking measurements into variables that potentially predict abnormal milk and clinical mastitis. Three types of pattern descriptors were used: level, variability, and shape. In addition to using the absolute value of the pattern descriptor, the descriptors were considered relative to their expected value based on pattern descriptor values from previous milkings and from other quarters within the same cow milking. Using this method, potentially predictive variables were computed for electrical conductivity, the colours red, green and blue, a combination of colour sensors, and milk production. The importance of a variable in predicting abnormal milk and clinical mastitis was evaluated by computing correlation coefficients as well as information gain ratios. The most important variables came from the sensors for electrical conductivity, blue and green. Variables describing the variability and shape of the measurement patterns were as important as mean and maximum values, and should be included in future modelling. Also variables that are based on absolute values should be considered for future modelling. Results suggest that clinical mastitis and abnormal milk classification models may include similar predictive variables, but requirements for these models differ resulting in the need for different models. The schematic approach to developing potentially predictive variables will be helpful when exploring the usefulness of new sensors, researching other approaches to estimate expected values, and studying sensor data patterns in general.