Machine Learning Techniques Associated With Infrared Thermography to Optimize the Diagnosis of Bovine Subclinical Mastitis.

Raul Costa Mascarenhas Santana, Edilson da Silva Guimarães, Fernando David Caracuschanski, Larissa Cristina Brassolatti, Maria Laura da Silva, Alexandre Rossetto Garcia, José Ricardo Macedo Pezzopane, Teresa Cristina Alves, Patrícia Tholon, Marcos Veiga Dos Santos, Luiz Francisco Zafalon
Author Information
  1. Raul Costa Mascarenhas Santana: School of Agricultural and Veterinary Sciences, São Paulo State University (UNESP), Jaboticabal, São Paulo, Brazil. ORCID
  2. Edilson da Silva Guimarães: Embrapa Southeastern Livestock, São Carlos, São Paulo, Brazil. ORCID
  3. Fernando David Caracuschanski: School of Agricultural and Veterinary Sciences, São Paulo State University (UNESP), Jaboticabal, São Paulo, Brazil. ORCID
  4. Larissa Cristina Brassolatti: School of Agricultural and Veterinary Sciences, São Paulo State University (UNESP), Jaboticabal, São Paulo, Brazil. ORCID
  5. Maria Laura da Silva: Central Paulista University Center (UNICEP), São Carlos, São Paulo, Brazil. ORCID
  6. Alexandre Rossetto Garcia: Embrapa Southeastern Livestock, São Carlos, São Paulo, Brazil. ORCID
  7. José Ricardo Macedo Pezzopane: Embrapa Southeastern Livestock, São Carlos, São Paulo, Brazil. ORCID
  8. Teresa Cristina Alves: Embrapa Southeastern Livestock, São Carlos, São Paulo, Brazil. ORCID
  9. Patrícia Tholon: Embrapa Southeastern Livestock, São Carlos, São Paulo, Brazil. ORCID
  10. Marcos Veiga Dos Santos: School of Veterinary Medicine and Animal Science, University of São Paulo (FMVZ-USP), São Paulo, São Paulo, Brazil. ORCID
  11. Luiz Francisco Zafalon: Embrapa Southeastern Livestock, São Carlos, São Paulo, Brazil. ORCID

Abstract

Bovine subclinical mastitis (SCM) is the costliest disease for the dairy industry. Technologies aimed at the early diagnosis of this condition, such as infrared thermography (IRT), can be used to generate large amounts of data that provide valuable information when analyzed using learning techniques. The objective of this study was to evaluate and optimize the use of machine learning by applying the Extreme Gradient Boosting (XGBoost) algorithm in the diagnosis of bovine SCM, based on udder thermogram analysis. Over 14 months, a total of 1035 milk samples were collected from 97 dairy cows subjected to an automatic milking system. Somatic cell counts were performed by flow cytometry, and the health status of the mammary gland was determined based on a cutoff of 200,000 cells/mL of milk. The attributes analyzed collectively included air temperature, relative humidity, temperature-humidity index, breed, body temperature, teat dirtiness score, parity, days in milk, mammary gland position, milk yield, electrical conductivity, milk fat, coldest and hottest points in the mammary gland region of interest, average mammary gland temperature, thermal amplitude, and the difference between the average temperature of the region of interest and the animal's body temperature, as well as the microbiological evaluation of the milk. Using the XGBoost algorithm, the most relevant variables for solving the classification problem were identified and selected to construct the final model with the best fit and performance. The best area under the receiver operating characteristic curve (AUC: 0.843) and specificity (Sp: 93.3%) were obtained when using all thermographic variables. The coldest point in the region of interest was considered the most important for decision making in mastitis diagnosis. The use of XGBoost can enhance the diagnostic capability for SCM when IRT is employed. The developed optimized model can be used as a confirmatory mechanism for SCM.

Keywords

References

  1. Sci Rep. 2021 Jul 1;11(1):13642 [PMID: 34211046]
  2. J Dairy Sci. 2020 Feb;103(2):1759-1775 [PMID: 31759594]
  3. Malawi Med J. 2012 Sep;24(3):69-71 [PMID: 23638278]
  4. Animals (Basel). 2022 May 12;12(10): [PMID: 35625096]
  5. J Dairy Sci. 2015 Nov;98(11):7675-85 [PMID: 26298754]
  6. Int J Biometeorol. 2018 Sep;62(9):1575-1586 [PMID: 29732473]
  7. J Dairy Res. 2018 May;85(2):193-200 [PMID: 29785910]
  8. J Dairy Sci. 2008 Dec;91(12):4592-8 [PMID: 19038934]
  9. J Therm Biol. 2024 Apr;121:103838 [PMID: 38554568]
  10. J Dairy Sci. 2021 Sep;104(9):10310-10323 [PMID: 34176631]
  11. Int J Biometeorol. 2015 Nov;59(11):1647-53 [PMID: 25702060]
  12. Vet World. 2016 Oct;9(10):1075-1081 [PMID: 27847416]
  13. Braz J Microbiol. 2019 Jul;50(3):849-857 [PMID: 31256351]
  14. Int J Biometeorol. 2019 Mar;63(3):327-336 [PMID: 30680628]
  15. J Dairy Sci. 2023 Jul;106(7):4978-4990 [PMID: 37268591]
  16. Animal. 2019 Jul;13(7):1519-1528 [PMID: 30630546]

Word Cloud

Created with Highcharts 10.0.0milktemperatureSCMmammaryglanddairydiagnosiscanXGBoostregioninterestBovinemastitisIRTusedanalyzedusinglearninguseExtremeGradientBoostingalgorithmbasedmilkingsystembodycoldestaveragevariablesmodelbestsubclinicalcostliestdiseaseindustryTechnologiesaimedearlyconditioninfraredthermographygeneratelargeamountsdataprovidevaluableinformationtechniquesobjectivestudyevaluateoptimizemachineapplyingbovineudderthermogramanalysis14 monthstotal1035samplescollected97cowssubjectedautomaticSomaticcellcountsperformedflowcytometryhealthstatusdeterminedcutoff200000 cells/mLattributescollectivelyincludedairrelativehumiditytemperature-humidityindexbreedteatdirtinessscoreparitydayspositionyieldelectricalconductivityfathottestpointsthermalamplitudedifferenceanimal'swellmicrobiologicalevaluationUsingrelevantsolvingclassificationproblemidentifiedselectedconstructfinalfitperformanceareareceiveroperatingcharacteristiccurveAUC:0843specificitySp:933%obtainedthermographicpointconsideredimportantdecisionmakingenhancediagnosticcapabilityemployeddevelopedoptimizedconfirmatorymechanismMachineLearningTechniquesAssociatedInfraredThermographyOptimizeDiagnosisSubclinicalMastitiscattlerobotic

Similar Articles

Cited By