dc.contributor.author
Dharejo, Muhammad N.
dc.contributor.author
Kashongwe, Olivier
dc.contributor.author
Amon, Thomas
dc.contributor.author
Kabelitz, Tina
dc.contributor.author
Doherr, Marcus G.
dc.date.accessioned
2025-12-01T10:17:11Z
dc.date.available
2025-12-01T10:17:11Z
dc.identifier.uri
https://refubium.fu-berlin.de/handle/fub188/50525
dc.identifier.uri
http://dx.doi.org/10.17169/refubium-50252
dc.description.abstract
Early and accurate prediction of mastitis is crucial in effective herd management and minimizing economic losses. This study investigated the effects of farm-specific factors on the accuracy of mastitis predictions by applying machine learning (ML) models to an automated milking system (AMS) and farm management data. We analyzed a large dataset consisting of 5.88 million observations over the period of 2019–2024 from four dairy farms in Germany. Six ML algorithms were applied to predict mastitis occurrence, with a focus on understanding how farm-specific factors like herd size, management practices, and farm environment may influence prediction accuracy. For training and testing on combined data, the accuracy, sensitivity and specificity ranged between 83 and 92%, 78 and 93% and 83 and 92%, respectively, with an area under curve (AUC) between 91 and 96%. However, under mixed-to-individual farm effects analysis, results exposed weaknesses in the generalization. Models adapted well to internal patterns when analyzing each individual farm separately, reaching very high AUCs of up to 98%, but the results were significantly different again when analyzed with a leave-one-out approach. The analysis determined that data from each farm carries variable underlying patterns, suggesting that a tailored approach to each farm’s unique characteristics might improve mastitis prediction through ML.
en
dc.format.extent
15 Seiten
dc.rights.uri
https://creativecommons.org/licenses/by/4.0/
dc.subject
mastitis prediction
en
dc.subject
machine learning models
en
dc.subject
automatic milking system
en
dc.subject
time series data
en
dc.subject
farm-specific effects
en
dc.subject.ddc
600 Technik, Medizin, angewandte Wissenschaften::630 Landwirtschaft::636 Viehwirtschaft
dc.title
Farm-Specific Effects in Predicting Mastitis by Applying Machine Learning Models to Automated Milking System and Other Farm Management Data
dc.type
Wissenschaftlicher Artikel
dcterms.bibliographicCitation.articlenumber
2825
dcterms.bibliographicCitation.doi
10.3390/ani15192825
dcterms.bibliographicCitation.journaltitle
Animals
dcterms.bibliographicCitation.number
19
dcterms.bibliographicCitation.originalpublishername
MDPI
dcterms.bibliographicCitation.volume
15
dcterms.bibliographicCitation.url
https://doi.org/10.3390/ani15192825
refubium.affiliation
Veterinärmedizin
refubium.affiliation.other
Institut für Veterinär-Epidemiologie und Biometrie

refubium.affiliation.other
Institut für Tier- und Umwelthygiene

refubium.note.author
Gefördert aus Open-Access-Mitteln der Freien Universität Berlin.
de
refubium.resourceType.isindependentpub
no
dcterms.accessRights.openaire
open access
dcterms.isPartOf.eissn
2076-2615