A machine learning approach reveals that spore levels in organic bulk tank milk are dependent on farm characteristics and meteorological factors
Qian, C.; Lee, R. T.; Weachock, R. L.; Wiedmann, M.; Martin, N. H.
Show abstract
Bacterial spores in raw milk can lead to quality issues in milk and milk derived products. Since these spores originate from farm environments, it is important to understand contributions of farm-level factors to spore levels in raw milk. Identifying highly influential factors will guide interventions to control the transmission of spores from farm environments into bulk tank raw milk and therefore minimize spoilage in the finished products. The objective of this study was to investigate the impact of farm management practices and meteorological factors on levels of different spore types in organic raw milk by leveraging machine learning models. In this study, raw milk from certified organic dairy farms (n = 102) located across 11 states was collected 6 times over a year and tested for standard plate count, psychrotolerant spore count, mesophilic spore count, thermophilic spore count, and butyric acid bacteria. At each sampling date, a survey was collected from each farm to obtain structured data about farm management practices. Meteorological factors related to temperature, precipitation, solar radiation, and wind were obtained on the date of sampling as well as 1, 2, and 3 days prior to the date of sampling from an open-source website. The dataset was stratified separately based on the use of a parlor for milking, number of years since organic certification, and whether the lactating herd was exposed to pasture time into sub-datasets to address the potential confounders. Using the entire datasets and 6 sub-datasets respectively, we constructed random forest regression models to predict log10 mesophilic spore count, log10 thermophilic spore count, and log10 butyric acid bacteria most probable number as well as a random forest classification model to classify the presence of psychrotolerant spores in each raw milk sample. The summary statistics showed that spore levels vary considerably between certified organic farms but were only slightly higher than spore levels previously reported from conventional dairy farms. The variable importance plots from the random forest models suggest that herd size, certification year, employee-related variables (e.g., number of people milking cows per week), clipping and flaming udders, stocking density, and principal component representing air temperatures are among the top variables influencing the spore levels in organic raw milk, despite the limitation in the model performance (the highest performance for regression and classification is R2 of 0.36 for predicting TSC for farms with a parlor and accuracy of 0.73 for classifying positive PSC for farms without a parlor, respectively). The relatively small effects of top variables as demonstrated by the partial dependence plots suggest that an individualized approach that synergistically considers multiple farm and environmental factors is needed to enable a risk-based approach for managing spore levels. While at the current stage, these models were insufficiently accurate to be used as predictive tools, incorporating novel data streams such as video surveillance and daily farm observations with computer vision and natural language processing, respectively, has the potential to enhance the performance of the model as a real-time monitoring tool for spores as an indicator of milk microbiological quality.
Matching journals
The top 5 journals account for 50% of the predicted probability mass.
Similar papers in this journal
- Use of a systems engineering framework to assess perceptions and practices about antimicrobial resistance of workers on large dairy farms in Wisconsin 95%
- Increasing the value of raw bulk milk quality based on mammary glands as production units vs. the udder in dairy cows with mastitis 94%
- Machine learning algorithms can predict tail biting outbreaks in pigs using feeding behaviour records 94%
Similar papers in this journal
Similar papers in this journal
- Moisture Matters: Unintended Consequences of Performing Wet Sanitation in Dry Environments. 91%
- Reduced antibacterial drug resistance and blaCTX-M β-lactamase gene carriage in cattle-associated Escherichia coli at low temperatures, at sites dominated by older animals and on pastureland: implications for surveillance. 91%
- Surveillance of Japanese Encephalitis Virus in Piggery Effluent and Environmental Samples: A Complementary Tool for Outbreak Detection 91%
Similar papers in this journal
- Estimating sampling and laboratory capacity for a simulated African swine fever outbreak in the United States 94%
- Small-scale commercial chicken production: A risky business for farmers in the Mekong Delta of Vietnam 92%
- Identifying control strategies to eliminate African swine fever from the United States swine industry in under 12 months 91%
Similar papers in this journal
- Productive lifespan and resilience rank can be predicted from on-farm first parity sensor time series but not using a common equation across farms 96%
- Milk losses and dynamics during perturbations in dairy cows differ with parity and lactation stage 95%
- Measuring antimicrobial use on dairy farms: a longitudinal method comparison study 95%
"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.