Application of Machine Learning Algorithms to Describe the Characteristics of Dairy Sheep Lactation Curves

Animals (Basel). 2023 Aug 31;13(17):2772. doi: 10.3390/ani13172772.

Abstract

In recent years, machine learning (ML) algorithms have emerged as powerful tools for predicting and modeling complex data. Therefore, the aim of this study was to evaluate the prediction ability of different ML algorithms and a traditional empirical model to estimate the parameters of lactation curves. A total of 1186 monthly records from 156 sheep lactations were used. The model development process involved training and testing models using ML algorithms. In addition to these algorithms, lactation curves were also fitted using the Wood model. The goodness of fit was assessed using correlation coefficient (r), mean absolute error (MAE), root mean square error (RMSE), relative absolute error (RAE), and relative root mean square error (RRSE). SMOreg was the algorithm with the best estimates of the characteristics of the sheep lactation curve, with higher values of r compared to the Wood model (0.96 vs. 0.68) for the total milk yield. The results of the current study showed that ML algorithms are able to adequately predict the characteristics of the lactation curve, using a relatively small number of input data. Some ML algorithms provide an interpretable architecture, which is useful for decision-making at the farm level to maximize the use of available information.

Keywords: artificial intelligence; milk production; milk recording; sheep.

Grants and funding

This research received no external funding.