Related Experiment Video
Updated: Jan 29, 2026

Constructing and Visualizing Models using Mime-based Machine-learning Framework
Published on: July 22, 2025
Machine Learning and SHapley Additive exPlanation-Based Interpretation for Predicting Mastitis in Dairy Cows.
Xiaojing Zhou1,2, Yongli Qu2, Chuang Xu3
1Department of Information and Computing Science, Heilongjiang Bayi Agricultural University, No. 5 Xinyang Road, Daqing 163319, China.
This study predicts dairy cow mastitis using machine learning and SHAP analysis. Key factors like activity and rumination deviations effectively identify disease risk, aiding early detection.
Area of Science:
- Veterinary Medicine
- Animal Science
- Machine Learning Applications
Background:
- SHAP analysis is underutilized in dairy cow disease prediction.
- Early detection of clinical mastitis is crucial for herd health and productivity.
Purpose of the Study:
- To evaluate machine learning models for predicting clinical mastitis in dairy cows.
- To identify key predictive features using SHAP analysis.
Main Methods:
- Utilized quantile regression to process data on activity, rumination, milk conductivity, and yield.
- Trained and validated eleven machine learning algorithms, including partial least squares.
- Applied SHAP analysis to interpret model predictions and feature importance.
Main Results:
- The partial least squares model achieved an AUC of 0.789, with high specificity (0.947) and precision (0.833).
- Nine variables from the 14-day pre-mastitis period were significantly associated with the disease.
- SHAP analysis identified specific features with positive and negative contributions to mastitis prediction.
Conclusions:
- Machine learning models, particularly partial least squares, can effectively predict clinical mastitis in dairy cows.
- SHAP analysis provides valuable insights into the factors driving mastitis prediction.
- Findings support the development of decision-support tools for dairy farm management.
More Related Videos
07:13Comparison of Predictive Performance of Three Lymph Node Staging Systems in Colorectal Signet Ring Cell Carcinoma Based on Machine Learning Model
Published on: April 18, 2025
04:09Predicting Treatment Response to Image-Guided Therapies Using Machine Learning: An Example for Trans-Arterial Treatment of Hepatocellular Carcinoma
Published on: October 10, 2018
Related Concept Videos
Base-Catalyzed Aldol Addition Reaction
Conjugate Addition (1,4-Addition) vs Direct Addition (1,2-Addition)
Conjugate addition results in a thermodynamically stable product. The reaction retains the stronger C=O bond at the expense of the weaker C=C π bond. The process is slow as the β carbon is less electrophilic than the carbonyl carbon.
Direct addition products are...
Predicting Molecular Geometry
Machines
A free-body diagram of the...
Interpreting R Charts
An R chart plots the range of subsets of measurements collected from a process. Each point on the chart represents the range—defined as the difference between the maximum and minimum...
Conjugate Addition of Enolates: Michael Addition