Related Experiment Video
Updated: Jan 16, 2026

Evaluation of Microbial Safety of Dairies using Bacterial Proteomic Profiling via MALDI Approach
Published on: October 7, 2025
Predicting postpartum diseases in Holstein cows using milk spectra and machine learning-Retrospective assessment from
D Lin1, J Li2, J A Seminara1
1Department of Population Medicine and Diagnostic Sciences, College of Veterinary Medicine, Cornell University, Ithaca, NY 14853.
None:
Dairy cows commonly experience health disorders in the early-lactation period. Although Fourier-transform infrared (FTIR) spectroscopy offers a noninvasive and cost-effective method for analyzing milk composition, its potential in predicting subsequent early-lactation diseases has yet to be adequately explored. This study aimed to uncover the ability of milk FTIR spectra to predict postpartum diseases in 1,162 Holstein cows from a commercial dairy farm in Cayuga County, NY. We collected proportional milk samples daily on cows in the early-lactation pen and stored milk at 4°C until analysis via FTIR spectroscopy. Cows were monitored through 30 DIM and classified as healthy (n = 825; no adverse health events) or diseased (n = 311; diagnosis of clinical ketosis, metritis, displaced abomasum, or mastitis, or any combination of these). We developed predictive models for 8 distinct time periods preceding the diagnosis date (>10 d, 10-8 d, 7-6 d, 5-4 d, 3 d, 2 d, 1 d, and 0 d), using regression, machine learning, and deep-learning methods applied to milk FTIR spectral data. Model performance was evaluated through a repeated down-sampled double cross-validation framework and permutation tests. Our results showed that progressive changes in spectral regions related to the absorbance peaks of fat, protein, and lactose are correlated with disease progression, leading to an increase in average area under the receiver operating characteristic curve (AUROC) from 0.50 (>10 d before diagnosis) to 0.72 (1 d prior) and 0.76 (the day of diagnosis) across all model types. Partial least squares-discriminant analysis (PLS-DA) models using milk FTIR spectra achieved an average AUROC of 0.71 from 7 d before diagnosis, outperforming models based on cow-level features (0.62) or combined with spectra-predicted milk major components (0.67). Among spectral models, PLS-DA reached the highest average AUROC (0.74), followed by long short-term memory (0.72), and surpassed ridge regression (0.71) and random forest (0.69). These findings highlight the effectiveness of using milk FTIR spectra to predict upcoming health conditions in early-lactation Holstein dairy cows, although broader evaluation is necessary to assess generalizability and on-farm utility.
More Related Videos
Related Concept Videos
Steps in Outbreak Investigation
Classification of Illness
An illness is a response to a disease in which the person's level of functioning is changed compared with a previous level. The general classification of illness includes acute and chronic.
Acute illness is severe...
Documentation of Nursing Diagnosis
In some settings, data-driven computerized decision support systems are in place, allowing for more accurate nursing diagnoses. The database within one of these systems includes diagnostic labels defining characteristics, activities, and indicators for nursing. A nurse enters...

