Nothing Special   »   [go: up one dir, main page]

skip to main content
article

Decision-tree induction to detect clinical mastitis with automatic milking

Published: 01 January 2010 Publication History

Abstract

This study explored the potential of using decision-tree induction to develop models for the detection of clinical mastitis with automatic milking. Sensor data (including electrical conductivity and colour) of over 711,000 quarter milkings were collected from December 2006 till August 2007 at six Dutch dairy herds milking automatically. Farmer recordings of quarter milkings with visible signs of mastitis were considered as gold standard positive cases (n=97), quarter milkings that were recorded as being visually normal as gold standard negatives (n=339). Randomly chosen quarter milkings that were not visually checked, that were outside a 2-week range before or after a gold standard positive case and that were not manually or automatically separated were added to end up with 3000 gold standard negatives. Decision trees, with varying confidence factors and cost matrices to study their effect on performance characteristics, were developed with the probability of having clinical mastitis for each quarter milking as output. Detection performance of decision trees was estimated using 10-fold cross-validation. Evaluated performance characteristics were the sensitivity and specificity, both calculated at a threshold value of 0.50 for the probability estimate for clinical mastitis. The transformed partial area under the curve was used to summarise the diagnostic ability of decision trees within a specified range of interest (specificity >=97%). Receiver operating characteristic curves visualized all combinations of sensitivity and specificity of decision trees within this range. Results showed that decision trees are easy to interpret when visualised. The lower the confidence factor, the smaller the decision trees: a cost insensitive decision tree with a confidence factor of 0.05 needed only eleven test nodes to classify all 3097 records with a sensitivity of 23.7% and a specificity of 99.2%. The decision tree with default parameter settings showed a transformed partial area under the curve value of 0.6420. By introducing costs for false negative classifications this value increased to 0.6476. At a specificity level of 99%, the decision tree with the highest transformed partial area under the curve value showed a sensitivity of 29.8%. Detection performances of the different decision trees were comparable with those of models currently used by automatic milking systems. As it was possible to achieve these results with the use of a rather simple decision tree algorithm, we believe that decision tree induction shows potential for detecting clinical mastitis with automatic milking.

References

[1]
Mastitis detection in dairy cows by application of fuzzy logic. Livestock Science. v105 i1-3. 207-213.
[2]
Description of a detection model for oestrus and diseases in dairy cattle based on time series analysis combined with a Kalman filter. Computers and Electronics in Agriculture. v22 i2-3. 171-185.
[3]
Results of a multivariate approach to automated oestrus and mastitis detection. Livestock Production Science. v48 i3. 219-227.
[4]
Detection model for mastitis in cows milked in an automatic milking system. Preventive Veterinary Medicine. v49 i1-2. 71-82.
[5]
Methods for estimating areas under receiver-operating characteristic curves: illustration with somatic-cell scores in subclinical intramammary infections. Preventive Veterinary Medicine. v41 i2-3. 75-88.
[6]
Estimating degree of mastitis from time-series measurements in milk: a test of a model based on lactate dehydrogenase measurements. Journal of Dairy Science. v90 i12. 5415-5427.
[7]
Mastitis therapy and control: automatic on-line detection of abnormal milk. In: Roginski, R., Fuquay, J.W., Fox, P.F. (Eds.), Encyclopedia of Dairy Sciences, Academic Press, London, UK. pp. 1735-1740.
[8]
Sensors and management support in high-technology milking. Journal of Dairy Science. v86 i5. 1-10.
[9]
Accuracy and reliability of mastitis detection with electrical conductivity and milk colour measurement in automatic milking. Acta Agriculturae Scandinavica Section A. v56 i3. 121-127.
[10]
Using sensor data patterns from an automatic milking system to develop predictive variables for classifying clinical mastitis and abnormal milk. Computers and Electronics in Agriculture. v62. 169-181.
[11]
Inducing inference rules for the classification of bovine mastitis. Computers and Electronics in Agriculture. v23 i1. 27-42.
[12]
The Efficacy of In-Line Measurement of Quarter Milk Electrical-Conductivity. Milk-Yield and Milk Temperature for the Detection of Clinical and Subclinical Mastitis. Livestock Production Science. v30 i3. 239-249.
[13]
Analyzing a portion of the ROC curve. Medical Decision Making. v9 i3. 190-195.
[14]
Performance evaluation of systems for automated monitoring of udder health: would the real gold standard please stand up?. In: Lam, T.J.G.M. (Ed.), Mastitis Control - From science to practice, Wageningen Academic Publishers, Wageningen, the Netherlands. pp. 259-266.
[15]
Detection of clinical mastitis by changes in electrical conductivity of foremilk before visible changes in milk. Journal of Dairy Science. v79 i1. 83-86.
[16]
Machine learning and data mining. Communications of the Association for Computing Machinery. v42 i11. 30-36.
[17]
Evaluation of a novel chemical sensor system to detect clinical mastitis in bovine milk. Biosensors & Bioelectronics. v22 i11. 2689-2693.
[18]
Comparison of Analysis Techniques for Online Detection of Clinical Mastitis. Journal of Dairy Science. v78 i5. 1050-1061.
[19]
Induction of decision trees. Machine Learning. v1. 81-106.
[20]
In: Quinlan, J.R. (Ed.), C4.5 Programs for Machine Learning, Morgan Kaufmann Publishers, San Mateo, CA.
[21]
Performance evaluation of systems for automated monitoring of udder health: analytical issues and guidelines. In: Lam, T.J.G.M. (Ed.), Mastitis Control-From Science to Practice, Wageningen Acadamic Publishers, Wageningen, The Netherlands. pp. 275-282.
[22]
The partial area under the summary ROC curve. Statistics in Medicine. v24 i13. 2025-2040.
[23]
In: Witten, I.H., Frank, E. (Eds.), Data Mining; Practical Machine Learning Tools and Techniques, Morgan Kaufmann Publishers, San Fransisco.

Cited By

View all
  • (2022)Forecasting chronic mastitis using automatic milking system sensor data and gradient-boosting classifiersComputers and Electronics in Agriculture10.1016/j.compag.2022.107002198:COnline publication date: 1-Jul-2022
  • (2020)Comparison of forecast models of production of dairy cows combining animal and diet parametersComputers and Electronics in Agriculture10.1016/j.compag.2020.105258170:COnline publication date: 1-Mar-2020
  • (2018)Machine-learning algorithms for predicting on-farm direct water and electricity consumption on pasture based dairy farmsComputers and Electronics in Agriculture10.1016/j.compag.2018.03.023150:C(74-87)Online publication date: 1-Jul-2018
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Computers and Electronics in Agriculture
Computers and Electronics in Agriculture  Volume 70, Issue 1
January, 2010
261 pages

Publisher

Elsevier Science Publishers B. V.

Netherlands

Publication History

Published: 01 January 2010

Author Tags

  1. Automatic mastitis detection
  2. Data mining
  3. Robotic milking

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 17 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2022)Forecasting chronic mastitis using automatic milking system sensor data and gradient-boosting classifiersComputers and Electronics in Agriculture10.1016/j.compag.2022.107002198:COnline publication date: 1-Jul-2022
  • (2020)Comparison of forecast models of production of dairy cows combining animal and diet parametersComputers and Electronics in Agriculture10.1016/j.compag.2020.105258170:COnline publication date: 1-Mar-2020
  • (2018)Machine-learning algorithms for predicting on-farm direct water and electricity consumption on pasture based dairy farmsComputers and Electronics in Agriculture10.1016/j.compag.2018.03.023150:C(74-87)Online publication date: 1-Jul-2018
  • (2017)An intelligent system for livestock disease surveillanceInformation Sciences: an International Journal10.1016/j.ins.2016.10.026378:C(26-47)Online publication date: 1-Feb-2017
  • (2017)Prioritizing alarms from sensor-based detection models in livestock production - A review on model performance and alarm reducing methodsComputers and Electronics in Agriculture10.1016/j.compag.2016.12.008133:C(46-67)Online publication date: 1-Feb-2017
  • (2015)A robust segmentation method for counting bovine milk somatic cells in microscope slide imagesComputers and Electronics in Agriculture10.1016/j.compag.2015.05.018115:C(142-149)Online publication date: 1-Jul-2015

View Options

View options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media