{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,9]],"date-time":"2026-07-09T06:23:37Z","timestamp":1783578217615,"version":"3.55.0"},"reference-count":37,"publisher":"Springer Science and Business Media LLC","issue":"1","license":[{"start":{"date-parts":[[2022,12,8]],"date-time":"2022-12-08T00:00:00Z","timestamp":1670457600000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2022,12,8]],"date-time":"2022-12-08T00:00:00Z","timestamp":1670457600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["Sci Rep"],"abstract":"<jats:title>Abstract<\/jats:title><jats:p>Mastitis is one of the major health problems in dairy herds leading to a reduction in the leading to a reduction in the quality of milk and economic losses. The research aimed to present the system, which uses electronic 3D motion detectors to detect the early symptoms of mastitis. The system would allow more effective prevention of this illness. The experiment was carried out on 118 cows (64 Holstein Friesian and 54 Brown Swiss). The animals were kept in free-stall barn with access to pasture. The occurrence of mastitis cases was noticed in veterinary register. Microbiological culture was taken from milk in order to confirm the development of infection. Data from motion detectors were defined as time spent by animals on feed intake, ruminating, physical activity and rest, and were expanded by adding information about feeding group, breed type and lactation number. During analyses, two approaches were used to process the same dataset: artificial neural networks (ANN) and logistic regression. The obtained ANN and the logistic regression models proved to be satisfactory from the perspective of applied criteria of goodness of fit (area under curve\u2014exceed 0.8). Quality parameters (accuracy, sensitivity and specifity) of logistic regression are relatively high (larger than 0.73), whereas the ranks of significance of the studied variables varied across datasets. These proposed models can be useful for automating the detection of mastitis once integrated into the farm\u2019s IT system.<\/jats:p>","DOI":"10.1038\/s41598-022-25275-2","type":"journal-article","created":{"date-parts":[[2022,12,8]],"date-time":"2022-12-08T16:10:38Z","timestamp":1670515838000},"update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":17,"title":["Early detection of mastitis in cows using the system based on 3D motions detectors"],"prefix":"10.1038","volume":"12","author":[{"given":"Grzegorz","family":"Grodkowski","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Tomasz","family":"Szwaczkowski","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Krzysztof","family":"Koszela","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Wojciech","family":"Mueller","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Kamila","family":"Tomaszyk","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ton","family":"Baars","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Tomasz","family":"Sakowski","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2022,12,8]]},"reference":[{"key":"25275_CR1","doi-asserted-by":"publisher","first-page":"18","DOI":"10.1080\/01652176.2007.9695224","volume":"29","author":"T Halasa","year":"2007","unstructured":"Halasa, T., Huijps, K., \u00d8ster\u00e5s, O. & Hogeveen, H. Economic effects of bovine mastitis and mastitis management: A review. Vet. Q. 29, 18\u201331. https:\/\/doi.org\/10.1080\/01652176.2007.9695224 (2007).","journal-title":"Vet. Q."},{"key":"25275_CR2","doi-asserted-by":"publisher","first-page":"2205","DOI":"10.3168\/jds.2007-0573","volume":"91","author":"D Bar","year":"2008","unstructured":"Bar, D. et al. The cost of generic clinical mastitis in dairy cows as estimated by using dynamic programming. J. Dairy Sci. 91, 2205\u20132214. https:\/\/doi.org\/10.3168\/jds.2007-0573 (2008).","journal-title":"J. Dairy Sci."},{"key":"25275_CR3","doi-asserted-by":"publisher","first-page":"257","DOI":"10.1016\/j.prevetmed.2015.11.006","volume":"122","author":"E Rollin","year":"2015","unstructured":"Rollin, E., Dhuyvetter, K. & Overton, M. The cost of clinical mastitis in the first 30 days of lactation: An economic modeling tool. Prev. Vet. Med. 122, 257\u2013264. https:\/\/doi.org\/10.1016\/j.prevetmed.2015.11.006 (2015).","journal-title":"Prev. Vet. Med."},{"key":"25275_CR4","doi-asserted-by":"publisher","first-page":"101","DOI":"10.1016\/j.applanim.2011.04.005","volume":"132","author":"J Siivonen","year":"2011","unstructured":"Siivonen, J. et al. Impact of acute clinical mastitis on cow behaviour. Appl. Anim. Behav. Sci. 132, 101\u2013106. https:\/\/doi.org\/10.1016\/j.applanim.2011.04.005 (2011).","journal-title":"Appl. Anim. Behav. Sci."},{"key":"25275_CR5","doi-asserted-by":"publisher","first-page":"8","DOI":"10.1016\/j.applanim.2014.09.022","volume":"175","author":"P Sep\u00falveda-Varas","year":"2016","unstructured":"Sep\u00falveda-Varas, P., Proudfoot, K. L., Weary, D. M. & von Keyserlingk, M. A. Changes in behaviour of dairy cows with clinical mastitis. Appl. Anim. Behav. Sci. 175, 8\u201313. https:\/\/doi.org\/10.1016\/j.applanim.2014.09.022 (2016).","journal-title":"Appl. Anim. Behav. Sci."},{"key":"25275_CR6","doi-asserted-by":"publisher","first-page":"1099","DOI":"10.3168\/jds.S0022-0302(04)73256-7","volume":"87","author":"E Norberg","year":"2004","unstructured":"Norberg, E. et al. Electrical conductivity of milk: Ability to predict mastitis status. J. Dairy Sci. 87, 1099\u20131107. https:\/\/doi.org\/10.3168\/jds.S0022-0302(04)73256-7 (2004).","journal-title":"J. Dairy Sci."},{"key":"25275_CR7","first-page":"194","volume":"28","author":"A Sharif","year":"2008","unstructured":"Sharif, A. & Muhammad, G. Somatic cell count as an indicator of udder health status under modern dairy production: A review. Pak. Vet. J. 28, 194\u2013200 (2008).","journal-title":"Pak. Vet. J."},{"key":"25275_CR8","doi-asserted-by":"publisher","first-page":"1062","DOI":"10.3390\/app11031062","volume":"11","author":"K Koszela","year":"2021","unstructured":"Koszela, K., Mueller, W., Otrz\u0105sek, J., \u0141ukomski, M. & Kujawa, S. Beacon in information system as way of supporting identification of cattle behavior. Appl. Sci. 11, 1062. https:\/\/doi.org\/10.3390\/app11031062 (2021).","journal-title":"Appl. Sci."},{"key":"25275_CR9","doi-asserted-by":"publisher","first-page":"47","DOI":"10.1136\/vr.d2344","volume":"169","author":"A Holman","year":"2011","unstructured":"Holman, A. et al. Comparison of oestrus detection methods in dairy cattle. Vet. Rec. 169, 47\u201347. https:\/\/doi.org\/10.1136\/vr.d2344 (2011).","journal-title":"Vet. Rec."},{"key":"25275_CR10","doi-asserted-by":"publisher","first-page":"2007","DOI":"10.3168\/jds.2009-2803","volume":"93","author":"N Chapinal","year":"2010","unstructured":"Chapinal, N., De Passill\u00e9, A., Rushen, J. & Wagner, S. Automated methods for detecting lameness and measuring analgesia in dairy cattle. J. Dairy Sci. 93, 2007\u20132013. https:\/\/doi.org\/10.3168\/jds.2009-2803 (2010).","journal-title":"J. Dairy Sci."},{"key":"25275_CR11","doi-asserted-by":"publisher","first-page":"3120","DOI":"10.3168\/jds.2013-7613","volume":"97","author":"S B\u00fcchel","year":"2014","unstructured":"B\u00fcchel, S. & Sundrum, A. Decrease in rumination time as an indicator of the onset of calving. J. Dairy Sci. 97, 3120\u20133127. https:\/\/doi.org\/10.3168\/jds.2013-7613 (2014).","journal-title":"J. Dairy Sci."},{"key":"25275_CR12","doi-asserted-by":"publisher","first-page":"2132","DOI":"10.3168\/jds.S0022-0302(06)72284-6","volume":"89","author":"G Penner","year":"2006","unstructured":"Penner, G., Beauchemin, K. & Mutsvangwa, T. An evaluation of the accuracy and precision of a stand-alone submersible continuous ruminal pH measurement system. J. Dairy Sci. 89, 2132\u20132140. https:\/\/doi.org\/10.3168\/jds.S0022-0302(06)72284-6 (2006).","journal-title":"J. Dairy Sci."},{"key":"25275_CR13","doi-asserted-by":"publisher","first-page":"213","DOI":"10.2527\/jas.2006-095","volume":"85","author":"O Alzahal","year":"2007","unstructured":"Alzahal, O., Rustomo, B., Odongo, N., Duffield, T. & McBride, B. A system for continuous recording of ruminal pH in cattle. J. Anim. Sci. 85, 213\u2013217. https:\/\/doi.org\/10.2527\/jas.2006-095 (2007).","journal-title":"J. Anim. Sci."},{"key":"25275_CR14","doi-asserted-by":"publisher","first-page":"4343","DOI":"10.3168\/jds.2017-13686","volume":"101","author":"M King","year":"2018","unstructured":"King, M., LeBlanc, S., Pajor, E., Wright, T. & DeVries, T. Behavior and productivity of cows milked in automated systems before diagnosis of health disorders in early lactation. J. Dairy Sci. 101, 4343\u20134356. https:\/\/doi.org\/10.3168\/jds.2017-13686 (2018).","journal-title":"J. Dairy Sci."},{"key":"25275_CR15","doi-asserted-by":"publisher","DOI":"10.3168\/jds.2019-17867","author":"P Pinedo","year":"2020","unstructured":"Pinedo, P. et al. Associations of reproductive indices with fertility outcomes, milk yield, and survival in Holstein cows. J. Dairy Sci. https:\/\/doi.org\/10.3168\/jds.2019-17867 (2020).","journal-title":"J. Dairy Sci."},{"key":"25275_CR16","doi-asserted-by":"publisher","DOI":"10.1371\/journal.pone.0217888","volume":"14","author":"LJ Verteramo Chiu","year":"2019","unstructured":"Verteramo Chiu, L. J., Tauer, L. W., Gr\u00f6hn, Y. T. & Smith, R. L. Mastitis risk effect on the economic consequences of paratuberculosis control in dairy cattle: A stochastic modeling study. PLoS ONE 14, e0217888. https:\/\/doi.org\/10.1371\/journal.pone.0217888 (2019).","journal-title":"PLoS ONE"},{"key":"25275_CR17","doi-asserted-by":"publisher","DOI":"10.3220\/LBF1515508151000","author":"D Zaborski","year":"2017","unstructured":"Zaborski, D., Proskura, W. S., Grzesiak, W., Szatkowska, I. & J\u0119drzejczak-Silicka, M. Use of random forest for dystocia detection in dairy cattle. Appl. Agric. For. Res. https:\/\/doi.org\/10.3220\/LBF1515508151000 (2017).","journal-title":"Appl. Agric. For. Res."},{"key":"25275_CR18","doi-asserted-by":"publisher","first-page":"2044","DOI":"10.3168\/jds.S0022-0302(94)77149-6","volume":"77","author":"D Armstrong","year":"1994","unstructured":"Armstrong, D. Heat stress interaction with shade and cooling. J. Dairy Sci. 77, 2044\u20132050. https:\/\/doi.org\/10.3168\/jds.S0022-0302(94)77149-6 (1994).","journal-title":"J. Dairy Sci."},{"key":"25275_CR19","doi-asserted-by":"publisher","first-page":"8645","DOI":"10.3168\/jds.2017-12651","volume":"100","author":"L Polsky","year":"2017","unstructured":"Polsky, L. & von Keyserlingk, M. A. Invited review: Effects of heat stress on dairy cattle welfare. J. Dairy Sci. 100, 8645\u20138657. https:\/\/doi.org\/10.3168\/jds.2017-12651 (2017).","journal-title":"J. Dairy Sci."},{"key":"25275_CR20","doi-asserted-by":"publisher","first-page":"1017","DOI":"10.3168\/jds.2007-0530","volume":"91","author":"L Gonz\u00e1lez","year":"2008","unstructured":"Gonz\u00e1lez, L., Tolkamp, B., Coffey, M., Ferret, A. & Kyriazakis, I. Changes in feeding behavior as possible indicators for the automatic monitoring of health disorders in dairy cows. J. Dairy Sci. 91, 1017\u20131028. https:\/\/doi.org\/10.3168\/jds.2007-0530 (2008).","journal-title":"J. Dairy Sci."},{"key":"25275_CR21","unstructured":"Grodkowski, G., Tomasz, T., Puppel, K., van Meurs, K. & Baars, T. 68th Annual Meeting of the European Federation of Animal Science (Tallinn, 2017)."},{"key":"25275_CR22","doi-asserted-by":"publisher","DOI":"10.1002\/0471722146","volume-title":"Applied Logistic Regression","author":"DW Hosmer","year":"2000","unstructured":"Hosmer, D. W. & Lemeshow, S. Applied Logistic Regression (Wiley, 2000)."},{"key":"25275_CR23","volume-title":"Encyclopedia of Machine Learning","author":"C Sammut","year":"2011","unstructured":"Sammut, C. & Webb, G. I. Encyclopedia of Machine Learning (Springer, 2011)."},{"key":"25275_CR24","doi-asserted-by":"publisher","first-page":"121","DOI":"10.3126\/ijasbt.v2i2.10191","volume":"2","author":"A Langer","year":"2014","unstructured":"Langer, A., Sharma, S., Sharma, N. K. & Nauriyal, D. Comparative efficacy of different mastitis markers for diagnosis of sub-clinical mastitis in cows. Int. J. Appl. Sci. Biotechnol. 2, 121\u2013125. https:\/\/doi.org\/10.3126\/ijasbt.v2i2.10191 (2014).","journal-title":"Int. J. Appl. Sci. Biotechnol."},{"key":"25275_CR25","doi-asserted-by":"publisher","first-page":"4560","DOI":"10.3168\/jds.2008-1160","volume":"91","author":"C Kamphuis","year":"2008","unstructured":"Kamphuis, C., Sherlock, R., Jago, J., Mein, G. & Hogeveen, H. Automatic detection of clinical mastitis is improved by in-line monitoring of somatic cell count. J. Dairy Sci. 91, 4560\u20134570. https:\/\/doi.org\/10.3168\/jds.2008-1160 (2008).","journal-title":"J. Dairy Sci."},{"key":"25275_CR26","doi-asserted-by":"publisher","first-page":"207","DOI":"10.1016\/j.livsci.2006.06.006","volume":"105","author":"D Cavero","year":"2006","unstructured":"Cavero, D., T\u00f6lle, K.-H., Buxad\u00e9, C. & Krieter, J. Mastitis detection in dairy cows by application of fuzzy logic. Livest Sci. 105, 207\u2013213. https:\/\/doi.org\/10.1016\/j.livsci.2006.06.006 (2006).","journal-title":"Livest Sci."},{"key":"25275_CR27","doi-asserted-by":"publisher","first-page":"101","DOI":"10.1016\/j.livsci.2006.10.006","volume":"110","author":"D Cavero","year":"2007","unstructured":"Cavero, D., T\u00f6lle, K.-H., Rave, G., Buxad\u00e9, C. & Krieter, J. Analysing serial data for mastitis detection by means of local regression. Livest Sci. 110, 101\u2013110. https:\/\/doi.org\/10.1016\/j.livsci.2006.10.006 (2007).","journal-title":"Livest Sci."},{"key":"25275_CR28","doi-asserted-by":"publisher","first-page":"280","DOI":"10.1016\/j.livsci.2007.05.012","volume":"114","author":"D Cavero","year":"2008","unstructured":"Cavero, D., T\u00f6lle, K.-H., Henze, C., Buxad\u00e9, C. & Krieter, J. Mastitis detection in dairy cows by application of neural networks. Livest Sci. 114, 280\u2013286. https:\/\/doi.org\/10.1016\/j.livsci.2007.05.012 (2008).","journal-title":"Livest Sci."},{"key":"25275_CR29","doi-asserted-by":"publisher","first-page":"7344","DOI":"10.3168\/jds.2015-10060","volume":"99","author":"DB Jensen","year":"2016","unstructured":"Jensen, D. B., Hogeveen, H. & De Vries, A. Bayesian integration of sensor information and a multivariate dynamic linear model for prediction of dairy cow mastitis. J. Dairy Sci. 99, 7344\u20137361. https:\/\/doi.org\/10.3168\/jds.2015-10060 (2016).","journal-title":"J. Dairy Sci."},{"key":"25275_CR30","doi-asserted-by":"publisher","first-page":"3863","DOI":"10.3390\/s20143863","volume":"20","author":"C Post","year":"2020","unstructured":"Post, C., Rietz, C., B\u00fcscher, W. & M\u00fcller, U. Using sensor data to detect lameness and mastitis treatment events in dairy cows: A comparison of classification models. Sensors 20, 3863 (2020).","journal-title":"Sensors"},{"key":"25275_CR31","doi-asserted-by":"publisher","first-page":"965","DOI":"10.1002\/(SICI)1097-0258(19970515)16:9<965::AID-SIM509>3.0.CO;2-O","volume":"16","author":"DW Hosmer","year":"1997","unstructured":"Hosmer, D. W., Hosmer, T., Le Cessie, S. & Lemeshow, S. A comparison of goodness-of-fit tests for the logistic regression model. Stat. Met. 16, 965\u2013980. https:\/\/doi.org\/10.1002\/(SICI)1097-0258(19970515)16:9%3c965::AID-SIM509%3e3.0.CO;2-O (1997).","journal-title":"Stat. Met."},{"key":"25275_CR32","doi-asserted-by":"publisher","first-page":"186","DOI":"10.1177\/0049124199028002003","volume":"28","author":"PD Allison","year":"1999","unstructured":"Allison, P. D. Comparing logit and probit coefficients across groups. Sociol. Methods Res. 28, 186\u2013208. https:\/\/doi.org\/10.1177\/0049124199028002003 (1999).","journal-title":"Sociol. Methods Res."},{"key":"25275_CR33","doi-asserted-by":"publisher","first-page":"351","DOI":"10.1146\/annurev.soc.22.1.351","volume":"22","author":"D Sloane","year":"1996","unstructured":"Sloane, D. & Morgan, S. P. An introduction to categorical data analysis. Annu. Rev. Sociol. 22, 351\u2013375. https:\/\/doi.org\/10.1146\/annurev.soc.22.1.351 (1996).","journal-title":"Annu. Rev. Sociol."},{"key":"25275_CR34","doi-asserted-by":"publisher","first-page":"691","DOI":"10.1093\/BIOMET\/78.3.691","volume":"78","author":"NJ Nagelkerke","year":"1991","unstructured":"Nagelkerke, N. J. A note on a general definition of the coefficient of determination. Biometrika 78, 691\u2013692. https:\/\/doi.org\/10.1093\/BIOMET\/78.3.691 (1991).","journal-title":"Biometrika"},{"key":"25275_CR35","doi-asserted-by":"publisher","first-page":"461","DOI":"10.1214\/aos\/1176344136","volume":"6","author":"G Schwarz","year":"1978","unstructured":"Schwarz, G. Estimating the dimension of a model. Ann. Stat. 6, 461\u2013464. https:\/\/doi.org\/10.1214\/aos\/1176344136 (1978).","journal-title":"Ann. Stat."},{"key":"25275_CR36","unstructured":"Bradley, A. P. The Use of the Area Under the ROC Curve in the Evaluation of Machine Learning."},{"key":"25275_CR37","doi-asserted-by":"publisher","first-page":"85","DOI":"10.1111\/1467-9884.00173","volume":"48","author":"JS Cramer","year":"1999","unstructured":"Cramer, J. S. Predictive performance of the binary logit model in unbalanced samples. J. R. Stat. Soc. Ser. D 48, 85\u201394. https:\/\/doi.org\/10.1111\/1467-9884.00173 (1999).","journal-title":"J. R. Stat. Soc. Ser. D"}],"container-title":["Scientific Reports"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.nature.com\/articles\/s41598-022-25275-2.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/www.nature.com\/articles\/s41598-022-25275-2","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/www.nature.com\/articles\/s41598-022-25275-2.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,8]],"date-time":"2022-12-08T16:12:00Z","timestamp":1670515920000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.nature.com\/articles\/s41598-022-25275-2"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,12,8]]},"references-count":37,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2022,12]]}},"alternative-id":["25275"],"URL":"https:\/\/doi.org\/10.1038\/s41598-022-25275-2","relation":{},"ISSN":["2045-2322"],"issn-type":[{"value":"2045-2322","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022,12,8]]},"assertion":[{"value":"17 November 2021","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"28 November 2022","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"8 December 2022","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"The authors declare no competing interests.","order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Competing interests"}}],"article-number":"21215"}}