Development of a recurrent neural networks-based calving prediction model using activity and behavioral data

Ali Seydi Keceli*, Cagatay Catal, Aydin Kaya, Bedir Tekinerdogan

*Corresponding author for this work

Research output: Contribution to journalArticleAcademicpeer-review

3 Citations (Scopus)


Accurate prediction of calving time in dairy cattle is crucial for dairy herd management to reduce risks like dystocia and pain. Prediction of calving using traditional, manual observation such as observing breeding records and visual cues, however, is a complicated and error-prone task whereby even experts can fail to provide a proper prediction. Moreover, manual prediction does not scale for larger farms and becomes very soon time-consuming, inefficient, and costly. In this context, automated solutions are considered to be promising to provide both better and more efficient predictions, thereby supporting the health of the dairy cows and reducing the unnecessary overhead for farmers. Although the first automated solutions appear to have mainly focused on statistical solutions, currently, machine learning approaches are now increasingly being considered as a feasible and promising approach for accurate prediction of calving. In this context, the objective of this study is to develop machine learning-based prediction models that provide higher performance compared to the existing tools, methods, and techniques. This study shows that the calving of the cattle can be predicted by applying several behaviors of cattle, behavioral monitoring sensors, and machine learning models. Bi-directional Long Short-Term Memory (Bi-LSTM) method has been applied for the prediction of the calving day, and the RusBoosted Tree classifier has been used to predict the remaining 8 h before calving. The experimental results demonstrated that Bi-LSTM provides better performance compared to the LSTM algorithm in terms of classification accuracy, while the RusBoosted Tree algorithm predicts the remaining 8 h accurately before calving. Furthermore, Recurrent Neural Networks provide high performance for the prediction of calving day.

Original languageEnglish
Article number105285
JournalComputers and Electronics in Agriculture
Publication statusPublished - 1 Mar 2020


  • Calving prediction
  • Machine learning
  • Precision dairy farming
  • Recurrent neural networks

Fingerprint Dive into the research topics of 'Development of a recurrent neural networks-based calving prediction model using activity and behavioral data'. Together they form a unique fingerprint.

Cite this