Explainable artificial intelligence-based analysis of milk composition in subclinical mastitis caused by different bacterial species
| dc.contributor.author | Safak, Tarik | |
| dc.contributor.author | Uzun, Selman | |
| dc.contributor.author | Yildirim, Gungor | |
| dc.contributor.author | Risvanli, Ali | |
| dc.contributor.author | Yilmaz-Koc, Oznur | |
| dc.date.accessioned | 2026-10-23T18:13:49Z | |
| dc.date.available | 2026-10-23T18:13:49Z | |
| dc.date.issued | 2026 | |
| dc.department | Siirt Üniversitesi | |
| dc.description.abstract | Background, Context or Rationale Subclinical mastitis induces substantial biochemical and physicochemical alterations in milk, negatively affecting milk quality, processing characteristics and dairy production efficiency. Conventional culture-based diagnostic methods remain labour-intensive and time-consuming, emphasising the need for rapid, data-driven and interpretable diagnostic approaches based on routinely obtainable milk parameters.Aim(s) This study aimed to investigate the biochemical effects of mastitis on milk composition and to identify pathogen-specific alterations associated with Escherichia coli (E. coli), Streptococcus agalactiae (S. agalactiae) and Staphylococcus aureus (S. aureus) using explainable machine learning methodologies.Methods Machine learning models were developed to (i) discriminate infected from noninfected milk samples and (ii) classify mastitis according to the causative bacterial species using fundamental physicochemical milk variables. Several algorithms were comparatively evaluated, and tree-based ensemble approaches demonstrated superior and more robust generalisation performance. Model interpretability was achieved using SHapley Additive exPlanations (SHAP), enabling the association of predictive outcomes with underlying biochemical characteristics of milk.Major Findings The SHAP analyses revealed distinct pathogen-dependent biochemical signatures. E. coli mastitis were primarily characterised by elevated electrical conductivity (EC), accompanied by increased somatic cell count (SCC). In S. agalactiae mastitis, SCC emerged as the dominant discriminative feature, with EC providing additional predictive contribution. In contrast, S. aureus mastitis were mainly associated with alterations in milk solid fractions, particularly solids-nonfat (SNF) and related compositional parameters. When classification was simplified to infected versus noninfected milk, fat content and SCC represented the most influential discriminative variables within the present dataset.Scientific or Industrial Implications The findings demonstrate that routinely measurable milk composition parameters can support rapid and interpretable identification of mastitis and differentiation of likely causative pathogens. By transforming conventional milk quality variables into pathogen-specific biochemical signatures, the proposed framework provides a practical and explainable decision-support approach for subclinical mastitis surveillance and milk quality assessment in dairy production systems. | |
| dc.description.sponsorship | [57/15] -- This study was conducted following approval by the Kastamonu University Local Ethics Committee of Animal Experimentation (57/15). | |
| dc.identifier.doi | 10.1111/1471-0307.70150 | |
| dc.identifier.issn | 1364-727X | |
| dc.identifier.issn | 1471-0307 | |
| dc.identifier.issue | 3 | |
| dc.identifier.scopus | 2-s2.0-105048249512 | |
| dc.identifier.scopusquality | Q2 | |
| dc.identifier.uri | https://doi.org/10.1111/1471-0307.70150 | |
| dc.identifier.uri | https://hdl.handle.net/20.500.12604/12167 | |
| dc.identifier.volume | 79 | |
| dc.identifier.wos | WOS:001887817700016 | |
| dc.identifier.wosquality | Q3 | |
| dc.indekslendigikaynak | Web of Science | |
| dc.indekslendigikaynak | Scopus | |
| dc.language.iso | en | |
| dc.publisher | Wiley | |
| dc.relation.ispartof | International Journal of Dairy Technology | |
| dc.relation.publicationcategory | Makale - Uluslararası Hakemli Dergi - Kurum Öğretim Elemanı | |
| dc.rights | info:eu-repo/semantics/closedAccess | |
| dc.snmz | KA_WOS_20261017 | |
| dc.subject | Mastitis | |
| dc.subject | Milk Composition | |
| dc.subject | Somatic Cell Count | |
| dc.subject | Machine Learning | |
| dc.subject | Explainable Artificial Intelligence | |
| dc.title | Explainable artificial intelligence-based analysis of milk composition in subclinical mastitis caused by different bacterial species | |
| dc.type | Article |











