Simple Summary
Accurately predicting milk production helps dairy farmers improve herd management and efficiency. In this study, we tested a previously developed machine learning model that predicts daily milk yield using genetic information and production data automatically recorded during milking. The model was applied to a new generation of cows, specifically the daughters of the animals used to develop the original model, raised under the same farm conditions. The predictions were accurate and closely matched those obtained in the original study, showing that the model remains reliable across generations. We also explored how predicted milk yield changes when the age and season of calving are modified to better understand the model’s behavior. These findings suggest that data-driven prediction tools can support dairy management decisions, as long as they are used together with economic and reproductive considerations.
Abstract
Advancements in precision livestock farming and machine learning have expanded the use of data-driven approaches for milk yield forecasting. In this study, a previously developed feedforward neural network (FFNN) model using genomic breeding values, parity, days in milk, month of calving, and age at calving as predictors was validated across one generation of Holstein cows. Specifically, the model was evaluated in first-parity daughters of the animals included in the original training population. Predictive performance was assessed on 228 lactation curves comprising 67,010 daily observations using a train–cross-validation–held-out test framework. On the test set, the model achieved a daily root mean squared error (RMSE) of 5.98 kg/day, with a Pearson correlation of 0.64. Sensitivity analyses were conducted by systematically shifting calving month and age (±1 to ±4 months) while holding other predictors constant. Simulated scenarios suggested increased predicted milk yield with later calving ages; however, these results reflect the structure of the training data rather than prescriptive management recommendations. While the FFNN provides robust milk yield predictions, its practical application for calving strategy decisions should be integrated with economic and reproductive considerations. Overall, the findings support the generational robustness of FFNN-based milk yield forecasting within the studied herd.
1. Introduction
Precision livestock farming and machine learning (ML) have revolutionized milk production forecasting, enabling improved herd management, economic planning, and resource optimization [1]. Over the years, various parametric models have been developed to describe lactation curves at both the herd and individual levels. Notable contributions include the lactation models proposed by Wood, Ali & Schaeffer, and Wilmink, which have been extensively validated and widely used in lactation studies [2,3,4]. More recently, lactation curve modeling has evolved through the use of high-frequency test-day data, flexible longitudinal frameworks, and computationally efficient mixed effects implementations, enabling improved modeling of each cow’s heterogeneity and deviations from average lactation trajectories. In particular, random regression and spline-based approaches have been increasingly applied to test-day milk yield to capture time-varying variance structures and non-linear lactation dynamics under commercial conditions [5,6,7].
The integration of Automated Milking Systems (AMSs) and digital data platforms has further enhanced predictive models, enabling continuous monitoring of key phenotypic variables such as milk yield, feed intake, and temperature. These systems generate large datasets that, when combined with parametric and ML approaches, contribute to more accurate predictions and informed decision-making in dairy herd management [8,9,10].
Machine learning methods are particularly suited to livestock applications because they can handle large, complex, noisy, and non-linear datasets generated by automated recording systems [8,9]. In this context, approaches can be broadly grouped into supervised methods, which learn from labeled outcomes to predict values or classify events, and unsupervised methods, which explore data structure to detect latent patterns and heterogeneity without predefined labels [11,12]. Both approaches are relevant in dairy production, as prediction tasks (e.g., milk yield forecasting) and exploratory analyses (e.g., identifying subgroups with distinct production or health profiles) can support decision-making within precision livestock farming frameworks.
While traditional studies focused on empirical lactation curve modeling, recent research has increasingly leveraged machine learning (ML) to integrate genetic, environmental, and phenotypic data for milk-yield prediction [13,14]. Several studies have demonstrated the advantages of ML approaches, including applications to lactation curve modeling, production efficiency, and spectral trait prediction [15,16,17,18]. In this context, feedforward neural networks (FFNNs) are data-driven models capable of learning complex non-linear relationships through fully connected layers [19,20]. Although FFNNs are widely used in other domains, their application to dairy production remains comparatively limited, particularly in studies that assess model robustness beyond the training population or explore model behaviour under structured perturbations of biologically meaningful covariates [15,21,22].
In this context, Vergani et al. [18] developed an FFNN using genomic breeding values, parity, days in milk, month of calving, and age at calving, achieving competitive prediction accuracy in a single herd. These predictors are biologically and economically relevant: age at first calving influences productivity and lifetime efficiency, with deviations from the recommended 22–26 months associated with reduced yield and higher rearing costs, while month of calving reflects environmental and management conditions shaping lactation dynamics [23,24].
Despite the increasing use of machine learning approaches in dairy systems, the extent to which these models generalize across biological generations remains unclear. Most existing studies evaluate predictive accuracy within the same population used for model development, leaving open the question of cross-generational robustness in evolving livestock populations. Furthermore, limited attention has been given to the internal consistency of neural network predictions under structured perturbations of biologically meaningful covariates.
The aim of the present study is, therefore, twofold: (i) to evaluate the generational robustness of a previously developed FFNN by validating its predictive performance in first-parity daughters of the original training animals and (ii) to conduct a structured sensitivity analysis by systematically shifting calving age and month in order to assess whether the model captures coherent biological interactions among genetic merit, calving attributes, and lactation stage.
2. Materials and Methods
2.1. Study Workflow
In this study, we validated the FFNN model for daily milk yield prediction proposed by Vergani et al. [25], using a new generation of primiparous cows. To do so, we re-trained the original prediction model on 400 first lactations from the original dataset by Vergani et al. [25] and later tested the FFNN on 228 lactation curves from the daughters of the animals on which the model was trained. The FFNN predicted daily milk yield from genetic information and production data recorded during milking. Training and testing cows were raised under the same farm conditions.
In addition to testing the predictive performance of the FFNN on a new generation of cows, we also leveraged the model to run simulations for understanding how predicted lactation curves changed with varying age and season of calving.
Summarizing, the study was developed following these steps:
- FFNN training on 400 first lactations, following the approach proposed by Vergani et al. [25] (see Section 2.2 “Machine learning model”).
- Selection of a test set for model validation, comprising 228 first lactations from a new generation of cows (i.e., daughters of the animals considered for training the FFNN) (see Section 2.3 “Test set”).
- FFNN validation on the test lactations, in terms of daily and cumulative—on 305 days—milk yield predictions (see the first part of Section 2.4 “Inference and simulation” and Section 2.5 “Model Validation and Performance Assessment”).
- Simulation of new lactation curves from the FFNN, in the case of shifting calving date in the range of [−4; +4] months (see the second part of Section 2.4 “Inference and simulation”).
2.2. Machine Learning Model
The prediction model referred to in this work—a FFNN with one hidden layer—was proposed by Vergani et al. [25] to predict the daily milk yield of a bovine given gEBV for milk yield at 305 days, parity, DIM, age at calving (in months), and month of calving. The daily milk production data used for the original study were collected between February 2020 and March 2022 from a single Holstein Friesian herd (502 cows) in the Lombardy region (Italy), equipped with AMS. Keeping the same model configuration (i.e., predictors, target, training procedure, and hyperparameter tuning) as Vergani et al. [25], except for excluding parity from the set of covariates, we re-trained the FFNN only on the first 400 lactations coming from the original dataset. We chose to re-train the model only on data from primiparous bovines to better capture patterns specific to first lactation milk production curves, constituting the scope of our validation and simulation analyses.
A FFNN is a machine learning model that learns a (potentially non-linear and arbitrarily complex) function f mapping a set of input features to an output variable using a training dataset. In the present study, the model predicts daily milk yield as a function of genomic breeding value for milk yield at 305 days (gEBV), days in milk (DIMs), age at calving, and month of calving:
The network parameters are estimated by minimizing the mean squared error between predicted and observed daily milk yield in the training set. Once trained, the learned function can be applied to new observations to generate daily milk yield predictions. We focused on the FFNN architecture for milk yield prediction because Vergani et al. [25] already demonstrated its superior performance compared to other machine learning (i.e., random forest, AdaBoost, support vector regression, K-nearest neighbors) and linear regression models, in terms of the RMSE, MAE, Pearson, and concordance correlation coefficients. Full details about the comparison between FFNNs and other models for the considered task and training dataset were reported by Vergani et al. [25].
The FFNN was developed with Python 3.9.7, mainly relying on the Keras library for model implementation, training, and evaluation, on Scikit-learn for feature preprocessing and validation, and on Pandas for data management and manipulation.
2.3. Test Set
Test lactation records were collected from the same Holstein Friesian dairy farm from which the training data came. Test animals were selected among the daughters of cows whose lactation records were used to train the model. Importantly, no milk yield data from these test animals were included in the training phase, ensuring separation of phenotypes between training and test sets. The test set included 81,464 total daily records across 251 lactations, recorded between 29 November 2021 and 26 February 2024. To refine the test data, only lactations that extended to at least 270 DIMs were retained, and daily records were considered up to the 305th DIM. This filtering resulted in a final test set of 228 lactation curves and 67,010 observations. Descriptive statistics of the dataset used for testing are presented in Table 1.
Table 1.
Descriptive statistics of the test set used.
2.4. Inference and Simulation
We applied the trained neural network model to predict the daily milk yield of test animals, starting from the covariates collected (i.e., DIM, age at calving, month of calving) and the gEBV by the breeders’ association ANAFIBJ. The daily predictions were compared with the real lactation curves to evaluate the model’s predictive performance: we analyzed the daily forecasting performance and the cumulative one on 305 days, in terms of the root mean squared error (RMSE), mean absolute error (MAE), percentage MAE, and Pearson correlation. Using the neural network, we also simulated new lactation curves in the case of shifting the calving date from −4 to +4 months. Specifically, the simulation consisted of the model’s prediction with shifted age at calving and month of calving (by −4, −3, −2, −1, +1, +2, +3, or +4 months), keeping the bovine’s gEBV and DIM unchanged. The simulations were compared with the real curves to understand the potential impact of breeders’ decisions on the milk production of individual animals over full lactation.
2.5. Model Validation and Performance Assessment
The model’s performance was evaluated on the test set, which included 228 lactation curves. The RMSE, MAE, percentage MAE, and Pearson correlation were computed for each lactation curve, and the summary results were reported based on the daily milk yield and the cumulative milk production over 305 d.
Specifically, for the FFNN, we tuned the number of neurons in the hidden layer in a 10-fold cross-validation setting (splitting on animals) by minimizing the mean squared error and later re-trained the model with the best-performing value of this hyperparameter on the full training set. This trained FFNN was then evaluated on our held-out test set of 228 lactation curves in terms of the RMSE, MAE, percentage MAE, and Pearson correlation, both on daily and cumulative milk production. Thus, we followed a train–cross-validation–test approach for model development and evaluation, relying on the Scikit-learn Python library for cross-validation and on the Keras and Scipy Python libraries for metrics calculation.
3. Results and Discussions
3.1. Forecasting Performance
To visualize an overview example of the lactation curves, daily milk yield production and predictions for one lactation curve are plotted in Figure 1, while the performance metrics are summarized in Table 2.
Figure 1.
Example of a real lactation curve and its prediction of the neural network model on the test set.
Table 2.
Performance of the neural network model on the test set. RMSE = root mean squared error for daily (kg/day) and cumulative lactation (kg/305 d); MAE = mean absolute error for daily (kg/day) and cumulative lactation (kg/305 d); MAE % = percentage of mean absolute error; Pcorr = Pearson correlation; n_obs = number of observations.
Table 2 shows both the model’s performance and the number of observations present in the test set. The model achieved a MAE of 4.80 kg/day, reflecting the average deviation between predicted and observed daily yields. The test cohort of first-parity daughters had an average daily milk production of 37.48 ± 7.77 kg, whereas the corresponding mothers in the original training population averaged 39.7 ± 9.1 kg. These comparable production levels suggest broadly similar yield distributions between generations, supporting the suitability of the daughter cohort for evaluating the model’s predictive consistency.
Comparable cumulative prediction accuracy has been reported in previous studies, where they used an artificial neural network with similar biological covariates. For example, Gorgulu [20] applied a feedforward artificial neural network including age, parity, season of calving, and early test-day milk yield records to predict cumulative 305-day milk yield in Brown Swiss cattle, reporting a RMSE of 1162.7 kg for the best-performing model. In the present study, the corresponding RMSE for cumulative 305-day milk yield was 1260.50 kg, a comparable magnitude given differences in breed, data structure, and validation strategy. The similarity in cumulative prediction error supports the consistency of ANN performance across studies and reinforces the suitability of the proposed FFNN framework for modeling lactation-level production outcomes.
Liseune [26] reported a Pearson correlation of 0.87 in the training set for parity 1 when using a traditional multilayer perceptron model and further improved performance through a sequential autoencoder framework designed to reconstruct and predict daily milk yield trajectories. Their sequential autoencoder achieved correlations up to 0.83–0.84 for short-term forecasts (30 days ahead) and demonstrated robust performance across varying data availability windows. In our study, the Pearson correlation for cumulative 305-day yield prediction on the independent test set was 0.70, which is lower than the performance reported by Liseune et al. but remains consistent with expectations, given that our estimate reflects true out-of-sample generalization rather than in-sample fit.
Recent work on the national scale has also shown that deep learning architectures, particularly CNN-based models, can outperform traditional autoregressive approaches for milk production forecasting [27].
This performance is also comparable to the value reported by Vergani et al. [10], who obtained an MAE of 4.42 kg/day [25]. The difference of 0.38 kg/day is modest and indicates that the FFNN retained a predictive accuracy similar to that observed in the original study, despite being applied to a new cohort of first-parity daughters.
In the original work, performance statistics for primiparous cows alone were not reported, limiting direct parity-specific comparisons. However, Vergani et al. [10] documented an RMSE of 6.47 kg/day and a Pearson correlation of 0.71 when combining first and second parities [25]. For context, the RMSE and correlation observed here are consistent with those documented in the original study.
To explore whether performance varied across biologically or economically relevant groups, metrics were further aggregated by month of calving (Table 3), age at calving (Table 4), and gEBV class (Table 5).
Table 3.
Performance of the neural network model on the test set, aggregated by month of calving. RMSE = root mean squared error; MAE = mean absolute error; Pcorr = Pearson correlation; n. obs = number of observations; n. animals = number of animals in each category. RMSE and MAE are expressed as mean ± standard deviation.
Table 4.
Performance of the neural network model on the test set, aggregated by age at calving (in months). RMSE = root mean squared error; MAE = mean absolute error; Pcorr = Pearson correlation; n. obs = number of observations; n. animals = number of animals in each category. RMSE and MAE are expressed as mean ± standard deviation; - = no data available for that class.
Table 5.
Performance of the neural network model on the test set, aggregated by gEBV. RMSE = root mean squared error; MAE = mean absolute error; Pcorr = Pearson correlation; n. obs = number of observations; n. animals = number of animals in each category. RMSE and MAE are expressed as mean ± standard deviation.
As expected, given the high variability of daily milk yield trajectories, standard deviations within classes were large, and no clear linear trends emerged across the evaluated categories. Similar dispersion of prediction errors across lactation stages and production levels has been documented in artificial neural network applications to dairy data, where residual variability remains high, even under well-fitted models [14].
The most represented calving age group (23–25 months), corresponding to the range commonly associated with favorable reproductive and productive outcomes, showed relatively consistent MAE (4.07–4.91 kg/day) and RMSE values (5.28–6.02 kg/day). This behavior is consistent with previous observations that neural network performance tends to be more stable in highly represented regions of the feature space, where the training data provide adequate coverage [28].
In contrast, sparsely represented categories, such as extreme calving ages, exhibited greater variability in prediction error. Comparable heterogeneity in predictive performance across biological strata has been observed in previous dairy applications of neural networks, where error magnitude varies across lactation stages, parities, or data availability conditions [14,26,29].
Similar considerations apply to the gEBV stratification. While no systematic pattern across genetic merit classes was detected, the most populated gEBV range (904–1304 kg) exhibited moderate and relatively homogeneous MAE (4.36–4.96 kg/day) and RMSE values (5.58–6.15 kg/day), whereas sparsely represented high-gEBV classes (>1504 kg) showed higher prediction errors. Previous ANN-based studies have reported variability in prediction accuracy across production levels and data structures, suggesting that differences in sample representation may influence error dispersion [20,28]. In this context, the increased variability observed in extreme gEBV classes is more plausibly attributable to differences in data density than to systematic biological non-linear responses.
3.2. Simulation of the Impact of Shifting the Month and Age at Calving
Shifting the month and age at calving by −4 to +4 months allowed us to evaluate the response of the FFNN to systematic perturbations of these covariates while keeping gEBV and DIM constant. These simulations were designed as sensitivity analyses to explore the internal behavior of the neural network under controlled covariate shifts rather than as prescriptive management scenarios. An example of simulation is shown in Figure 2.
Figure 2.
Example of a cumulative milk production recorded and predicted using neural networks, with varying calving month shifts in the simulation (sim.).
Across all simulated horizons, predicted cumulative 305-day yield showed a consistent dependence on age at calving, with higher simulated ages associated with increased predicted production as shown in Figure 3. This trend aligns with the established dairy literature demonstrating that milk yield in first lactation is strongly influenced by age at first calving [23,30]. However, although moderate delays in calving age may be associated with increased first-lactation yield, economic analyses consistently indicate that optimal profitability is achieved when first calving occurs between approximately 22 and 25 months [23,31]. Delaying calving beyond this range increases rearing costs and prolongs the non-productive period of the heifer, reducing economic efficiency.
Figure 3.
Distribution of cumulative milk production grouped by the simulated horizon. Simulated horizons are the months of calving and consequently the age at calving shifted by −4, −3, −2, −1, +1, +2, +3, or +4 months.
Notably, the variability of simulated cumulative yields was narrower than that observed in the real data. Similar smoothing behavior has been reported in neural network-based modeling of lactation curves, where reconstructed trajectories tend to exhibit reduced dispersion relative to raw observations [26,28].
The model behaviour observed here likely reflects the structure of the training data. Most recorded lactations corresponded to calving ages between 23 and 25 months, whereas extreme ages were sparsely represented. Consequently, predictions generated for older or younger simulated ages relied on limited training support, which may have contributed to reduced variability and increased sensitivity in these marginal strata.
3.3. Real-World Applications and Computational Cost
Training and cross-validating the FFNN (including best hyperparameter selection) took a few hours on a 64-bit laptop equipped with an Intel Core i7-8650U processor and 16 GB RAM. Applying the trained model to a new lactation to obtain the predicted milk yield curve, instead, runs in the range of seconds on modern laptops. Hence, the computational cost of using our tool is limited, considering that breeders are expected to train the FFNN on their data only once and then use it to predict new lactation curves. Clearly, in order for individual farmers to easily use the proposed method in practice, our tool should be integrated into farm management software that would automatically manage inputs, train the model, and apply it to suggest optimal decisions with null or minimal manual effort to set data and parameters (and without requiring programming knowledge). Thus, we envision faster real-world applications of tools such as the one we proposed and validated in farms already technologically equipped with AMS and management software.
A limitation of the present study is that only a single modeling framework (FFNN) was evaluated. Although previous benchmarking identified this architecture as suitable for the considered task, direct comparison with alternative machine learning models under the current generational validation design was not performed. Future research should assess whether similar cross-generational robustness can be observed across different modeling approaches.
4. Conclusions
The FFNN model developed by Vergani et al. [25] maintained stable predictive performance when applied to first-parity daughters of the training animals, supporting its generational robustness under comparable management conditions. Prediction accuracy remained broadly consistent across calving months, calving ages, and gEBV classes, although increased variability in underrepresented groups highlights the importance of balanced training data for reliable forecasting.
Sensitivity analyses based on systematic shifts in calving age and month revealed coherent internal model behaviour. However, these simulated outcomes primarily reflect the structure of the training data and should not be interpreted as direct management recommendations. Because the model predicts milk yield alone, any practical application for decision-making should be integrated with economic and reproductive considerations.
We believe that our validation of the model across generations of cows emphasizes that novel methods for milk yield forecasting, such as FFNNs, hold potential for real-world breeders’ decision support and wider-scale precision farming in the future. Nevertheless, broader multi-herd validation and complementary analyses will be necessary before the approach can inform calving strategy decisions.
Author Contributions
Conceptualization, C.F., C.P., A.D. and A.M.V.; methodology, C.F., C.P., A.D. and A.M.V.; formal analysis, C.F. and A.M.V.; writing—original draft preparation, C.F., C.P., A.D. and A.M.V.; writing—review and editing, M.G.S., M.M. and A.B. All authors have read and agreed to the published version of the manuscript.
Funding
This study was carried out within the Agritech National Research Center and received funding from the European Union Next-GenerationEU (Piano nazionale di ripresa e resilienza (PNRR)—Missione 4 Componente 2, Investimento 1.4—D.D. 1032 17 June 2022, CN00000022). This manuscript reflects only the authors’ views and opinions; neither the European Union nor the European Commission can be considered responsible for them.
Institutional Review Board Statement
Ethical review and approval were waived for this study, as it was based exclusively on previously collected farm data, including genomic inbreeding metrics and records from automated milking systems. No experimental procedures were performed on animals specifically for the purpose of this study, and all data were analyzed retrospectively in accordance with applicable guidelines and regulations.
Informed Consent Statement
Not applicable.
Data Availability Statement
The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding authors.
Conflicts of Interest
The authors declare no conflicts of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| FFNN | Feedforward neural network |
| ML | Machine learning |
| AMS | Automatic milking system |
| DIMs | Days in milk |
| gEBV | Genomic estimated breeding value |
| RMSE | Root mean squared error |
| MAE | Mean absolute error |
References
- Laberge, B.; Rousseau, A.N. Rethinking environment control strategy of confined animal housing systems through precision livestock farming. Biosyst. Eng. 2017, 155, 96–123. [Google Scholar] [CrossRef] [Scilit]
- Wood, P.D.P. Algebraic model of the lactation curve in cattle. Nature 1967, 216, 164–165. [Google Scholar] [CrossRef] [Scilit]
- Ali, T.; Schaeffer, L. Accounting for covariances among test day milk yields in dairy cows. Can. J. Anim. Sci. 1987, 67, 637–644. [Google Scholar] [CrossRef] [Scilit]
- Wilmink, J.B.M. Adjustment of test-day milk, fat and protein yield for age, season and stage of lactation. Livest. Prod. Sci. 1987, 16, 335–348. [Google Scholar] [CrossRef] [Scilit]
- Bouallegue, M.; Steri, R.; M’hamdi, N.; Ben Hamouda, M. Modelling of individual lactation curves of Tunisian Holstein-Friesian cows for milk yield, fat, and protein contents using parametric, orthogonal and spline models. J. Anim. Feed Sci. 2015, 24, 11–18. [Google Scholar] [CrossRef] [Scilit]
- Piccardi, M.; Macchiavelli, R.; Funes, A.C.; Bó, G.A.; Balzarini, M. Fitting milk production curves through nonlinear mixed models. J. Dairy Res. 2017, 84, 146–153. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Masía, F.M.; Lyons, N.A.; Piccardi, M.; Balzarini, M.; Hovey, R.C.; Garcia, S.C. Modeling variability of the lactation curves of cows in automated milking systems. J. Dairy Sci. 2020, 103, 8189–8196. [Google Scholar] [CrossRef] [Scilit]
- Neethirajan, S. The role of sensors, big data and machine learning in modern animal farming. Sens. Biosens. Res. 2020, 29, 100367. [Google Scholar] [CrossRef] [Scilit]
- Melak, A.; Aseged, T.; Shitaw, T. The Influence of Artificial Intelligence Technology on the Management of Livestock Farms. Int. J. Distrib. Sens. Netw. 2024, 2024, 8929748. [Google Scholar] [CrossRef] [Scilit]
- Neethirajan, S. Artificial Intelligence and Sensor Innovations: Enhancing Livestock Welfare with a Human-Centric Approach. Hum.-Centric Intell. Syst. 2024, 4, 77–92. [Google Scholar] [CrossRef] [Scilit]
- Sieredzinski, J.; Zaborski, D. The use of machine learning methods for computed tomography image classification in the Covid-19 pandemic: A review. Rev. Epidemiol. Controle Infecç. 2025, 15, 109–120. [Google Scholar] [CrossRef] [Scilit]
- Naeem, S.; Ali, A.; Anam, S.; Ahmed, M.M. An Unsupervised Machine Learning Algorithms: Comprehensive Review. Int. J. Comput. Digit. Syst. 2023, 13, 911–921. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Dematawewa, C.M.B.; Pearson, R.E.; VanRaden, P.M. Modeling extended lactations of Holsteins. J. Dairy Sci. 2007, 90, 3924–3936. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Grzesiak, W.; Błaszczyk, P.; Lacroix, R. Methods of predicting milk yield in dairy cows-Predictive capabilities of Wood’s lactation curve and artificial neural networks (ANNs). Comput. Electron. Agric. 2006, 54, 69–83. [Google Scholar] [CrossRef] [Scilit]
- Guevara, L.; Castro-Espinoza, F.; Fernandes, A.M.; Benaouda, M.; Muñoz-Benítez, A.L.; del Razo-Rodríguez, O.E.; Peláez-Acero, A.; Angeles-Hernandez, J.C. Application of Machine Learning Algorithms to Describe the Characteristics of Dairy Sheep Lactation Curves. Animals 2023, 13, 2772. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- de Oliveira, F.M.; Ferraz, G.A.e.S.; André, A.L.G.; Santana, L.S.; Norton, T.; Ferraz, P.F.P. Digital and Precision Technologies in Dairy Cattle Farming: A Bibliometric Analysis. Animals 2024, 14, 1832. [Google Scholar] [CrossRef] [Scilit]
- Urbas, S.; Lovera, P.; Daly, R.; O’Riordan, A.; Berry, D.; Gormley, I.C. Predicting milk traits from spectral data using Bayesian probabilistic partial least squares regression. Ann. Appl. Stat. 2024, 18, 3486–3506. [Google Scholar] [CrossRef] [Scilit]
- Alwadi, M.; Alwadi, A.; Chetty, G.; Alnaimi, J. Smart dairy farming for predicting milk production yield based on deep machine learning. Int. J. Inf. Technol. 2024, 16, 4181–4190. [Google Scholar] [CrossRef] [Scilit]
- Eyduran, E.; Zaborski, D.; Waheed, A.; Celik, S.; Karadas, K.; Grzesiak, W. Comparison of the predictive capabilities of several data mining algorithms and multiple linear regression in the prediction of body weight by means of body measurements in the indigenous Beetal goat of Pakistan. Pak. J. Zool. 2017, 49, 257–265. [Google Scholar] [CrossRef] [Scilit]
- Gorgulu, O. Prediction of 305-day milk yield in Brown Swiss cattle using artificial neural networks. S. Afr. J. Anim. Sci. 2012, 42, 280–287. [Google Scholar] [CrossRef] [Scilit]
- Manoj, M.; Gandhi, R.S.; Raja, T.V.; Ruhil, A.P.; Singh, A.; Gupta, A.K. Comparison of artificial neural network and multiple linear regression for prediction of first lactation milk yield using early body weights in sahiwal cattle. Indian J. Anim. Sci. 2014, 84, 427–430. [Google Scholar] [CrossRef] [Scilit]
- Usman, S.M.; Dutt, T.; Sahib, Q.S.; Singh, N.P.; Tiwari, R.; Chandrakar, J.; Ghanima, M.A.; Youssef, I.; Sherasiya, A.; Kumar, A.; et al. Artificial neural networks for predicting first-lactation 305-day milk yield in crossbred cattle. S. Afr. J. Anim. Sci. 2025, 55, 1–9. [Google Scholar] [CrossRef] [Scilit]
- Ettema, J.F.; Santos, J.E.P. Impact of age at calving on lactation, reproduction, health, and income in first-parity Holsteins on commercial farms. J. Dairy Sci. 2004, 87, 2730–2742. [Google Scholar] [CrossRef] [Scilit]
- Krpálková, L.; Cabrera, V.E.; Kvapilík, J.; Burdych, J.; Crump, P. Associations between age at first calving, rearing average daily weight gain, herd milk yield and dairy herd production, reproduction, and profitability. J. Dairy Sci. 2014, 97, 6573–6582. [Google Scholar] [CrossRef] [Scilit]
- Vergani, A.M.; Bagnato, A.; Masseroli, M. Predicting bovine daily milk yield by leveraging genomic breeding values. Comput. Electron. Agric. 2024, 219, 108777. [Google Scholar] [CrossRef] [Scilit]
- Liseune, A.; Salamone, M.; Van den Poel, D.; Van Ranst, B.; Hostens, M. Leveraging latent representations for milk yield prediction and interpolation using deep learning. Comput. Electron. Agric. 2020, 175, 105600. [Google Scholar] [CrossRef] [Scilit]
- Cesarini, L.; Gonçalves, R.; Martina, M.; Romão, X.; Monteleone, B.; Pereira, F.L.; Figueiredo, R. Comparison of deep learning models for milk production forecasting at national scale. Comput. Electron. Agric. 2024, 221, 108933. [Google Scholar] [CrossRef] [Scilit]
- Ji, B.; Banhazi, T.; Phillips, C.J.C.; Wang, C.; Li, B. A machine learning framework to predict the next month’s daily milk yield, milk composition and milking frequency for cows in a robotic dairy farm. Biosyst. Eng. 2022, 216, 186–197. [Google Scholar] [CrossRef] [Scilit]
- Bovo, M.; Agrusti, M.; Benni, S.; Torreggiani, D.; Tassinari, P. Random forest modelling of milk yield of dairy cows under heat stress conditions. Animals 2021, 11, 1305. [Google Scholar] [CrossRef] [Scilit]
- Wathes, D.C.; Brickell, J.S.; Bourne, N.E.; Swali, A.; Cheng, Z. Factors influencing heifer survival and fertility on commercial dairy farms. Animal 2008, 2, 1135–1143. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Pirlo, G.; Miglior, F.; Speroni, M. Effect of age at first calving on production traits and on difference between milk yield returns and rearing costs in Italian Holsteins. J. Dairy Sci. 2000, 83, 603–608. [Google Scholar] [CrossRef] [Scilit] [PubMed]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.


