Related Experiment Video
Updated: Jul 17, 2025

Machine Learning Algorithms for Early Detection of Bone Metastases in an Experimental Rat Model
Published on: August 16, 2020
Accurate prediction of calving in dairy cows by applying feature engineering and machine learning
Jorge A Vázquez-Diosdado1, Julien Gruhier2, G G Miguel-Pacheco3
1School of Veterinary Medicine and Science, University of Nottingham, Sutton Bonington Campus, Leicestershire LE12 5RD, United Kingdom.
Abstract:
Prediction of calving is key to dairy cow management. Current trends of increasing herd sizes globally can directly impact the time that farmers spend monitoring individual animals. Automated monitoring on behavioural and physiological changes prior to parturition can be used to develop machine learning solutions for calving prediction. In this study, we developed a machine learning algorithm for the prediction of calving in dairy cows. We demonstrated that temperature and activity index information retrieved from a commercial reticuloruminal bolus sensor can accurately predict calving from 1-day to 5-days in advance. The best prediction solution using data from 82 dairy cows, achieved up to 87.81 % in accuracy, 92.99 % in specificity, 75.84 % in sensitivity, 82.99 % in positive predictive value (PPV), 78.85 % in F-score, and 90.02 % in negative predictive value (NPV) on the test dataset when using information from 2-days in advance and all the subsets of feature characteristics (temperature + drinking + activity). The performance only decreased by 2.45 % points in accuracy, 0.74 % points in specificity, 6.41 % points in sensitivity, 2.45 % points in positive predictive value, 4.91 % points in F-score, and 2.44 % points in negative predictive value on the test dataset when using all feature characteristics and 5-days in advance information compared to using all features and information from 2-days in advance. Full evaluation of the performance of the prediction showed an improvement when using all the different subsets of feature characteristics together (temperature, activity, and drinking) compared to using temperature features only. When adding activity and drinking to the subset of temperature features, an average increase of 2.70, 1.52, 5.40, 4.39, 5.02, 2.13 % points in accuracy, specificity, sensitivity, PPV, F-score, and NPV, respectively, was obtained. Notably, evaluation of feature importance (i.e., relative weight of any given feature in relation to model prediction) showed that 3-5 (depending on the selected days in advance model) of the top ten features were derived from drinking behaviour, showing the relevance that this behaviour can have in the prediction of calving. This algorithm can provide a useful tool for automated calving prediction in dairy cows which has potential for improvement of health, welfare, and productivity in the dairy industry.
More Related Videos
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
10:25Construction of Models for Nondestructive Prediction of Ingredient Contents in Blueberries by Near-infrared Spectroscopy Based on HPLC Measurements
Published on: June 28, 2016
Related Concept Videos
Prediction Intervals
However, the point estimate is most likely not the exact value of the population parameter, but close to it. After calculating point estimates, we construct interval estimates, called confidence intervals or prediction intervals. This prediction interval comprises a range of values unlike the point estimate and is a better predictor of the observed sample value, y.
Classification of Signals
A continuous-time signal holds a value at every instant in time, representing information seamlessly. In contrast, a discrete-time signal holds values only at specific moments, often denoted as x(n), where...
Steps in Outbreak Investigation
Calibration Curves: Linear Least Squares
For data that follow a straight line, the standard method for fitting is the linear...
End Point Prediction: Gran Plot
For potentiometric titration, the Gran plot is created by plotting...
Regression Analysis
In regression analysis, a regression equation is determined based on the line of best fit– a line that best fits the data points plotted in a graph. This line is also called the regression line. The algebraic equation for the regression line is called the regression equation. It is represented as: