Comparison of Machine Learning Algorithms for Prediction of Lifetime Milk Yield in Gir Cattle (Bos indicus)

Authors

  • Nikhil S Dangar Department of Animal Genetics and Breeding, College of Veterinary Science and Animal Husbandry, Kamdhenu University, Bhuj-370001, Gujarat, India
  • Gaurav M Pandya Cattle Breeding Farm, College of Veterinary Science and Animal Husbandry, Kamdhenu University, Junagadh-362001, Gujarat, India
  • Pravin H Vataliya Ret. Director of Extension Education, Kamdhenu University, Gandhinagar-382010, Gujarat, India

DOI:

https://doi.org/10.48165/ijvsbt.22.5.27

Keywords:

Artificial intelligence, Gir cattle, Lifetime milk yield, Machine learning, XGBoost

Abstract

Lifetime milk yield (LMY) is an economically important trait in dairy cattle; however, its late expression limits early selection of genetically  superior animals. The present study compared the predictive performance of Multiple Linear Regression (MLR), Artificial Neural Network  (ANN), Random Forest (RF), Support Vector Regression (SVR), and Extreme Gradient Boosting (XGBoost) models for early prediction of  LMY in Gir cattle using routinely recorded first-lactation performance traits. Historical production records of 174 Gir cows maintained  at the Cattle Breeding Farm, Kamdhenu University, Junagadh during 1986 to 2010 were used. Predictor variables included calf birth  weight, test-day milk yields, first lactation length, first lactation peak milk yield, first lactation standard milk yield, first lactation total  milk yield, season, period and year of first calving, and first calf sex. The dataset was randomly divided into training (80%) and testing  (20%) subsets. Model performance was evaluated using root mean square error (RMSE), mean absolute error (MAE), coefficient of  determination (R²), and mean absolute percentage error (MAPE). Among the evaluated models, XGBoost exhibited the best predictive  performance (RMSE = 3713.95 L, MAE = 2679.89 L, MAPE = 10.43%, R² = 0.3865), followed by ANN and RF. Feature importance analysis  identified first-lactation production traits as the major determinants of lifetime milk yield. These findings demonstrate that XGBoost is an  effective tool for early prediction of lifetime milk yield and can support selection decisions in organized Gir cattle breeding programmes

Downloads

Download data is not yet available.

References

Abdollahi-Arpanahi, R., Gianola, D., & Peñagaricano, F. (2020). Deep learning versus parametric and ensemble methods for genomic prediction of complex phenotypes. Genetics Selection Evolution, 52, 12.

Akers, R. M. (2006). Major advances associated with hormone and growth factor regulation of mammary growth and lactation in dairy cows. Journal of Dairy Science, 89(4), 1222–1234.

Chafai, N., Hayah, I., Houaga, I., & Badaoui, B. (2023). A review of machine learning models applied to genomic prediction in animal breeding. Frontiers in Genetics, 14, 1150596.

Chaudhary, P. N., Kapadiya, P. S., Gadariya, M. R., Gamit, P. M., & Savaliya, B. D. (2022). Test-day and other milk recording options for prediction of lactation milk yield on Gir cows. Indian Journal of Veterinary Science and Biotechnology, 18(2), 85–89.

Cole, J. B., & VanRaden, P. M. (2018). Symposium review: Possibilities in an age of genomics: The future of selection indices. Journal of Dairy Science, 101(4), 3686–3701.

Dangar, N. S., & Vataliya, P. H. (2022). Prediction of lifetime milk yield in Gir cattle using principal component analysis. Indian Journal of Veterinary Sciences and Biotechnology, 18(4), 15–20.

Goodwin, S., McPherson, J. D., & McCombie, W. R. (2016). Coming of age: Ten years of next-generation sequencing technologies. Nature Reviews Genetics, 17(6), 333–351.

Gutierrez-Reinoso, M. A., Aponte, P. M., & Garcia-Herreros, M. (2021). Genomic analysis, progress and future perspectives in dairy cattle selection: A review. Animals, 11(3), 599.

Miglior, F., Fleming, A., Malchiodi, F., Brito, L. F., Martin, P., & Baes, C. F. (2020). A 100-year review: Identification and genetic selection of economically important traits in dairy cattle. Journal of Dairy Science, 103(11), 10251–10271.

Morota, G., Ventura, R. V., Silva, F. F., Koyama, M., & Fernando, S. C. (2018). Machine learning and data mining advance predictive big data analysis in precision animal agriculture. Journal of Animal Science, 96(4), 1540–1550.

Pryce, J. E., Nguyen, T. T. T., Axford, M., Nieuwhof, G., & Shaffer, M. (2018). Symposium review: Building a better cow—The Australian experience and future perspectives. Journal of Dairy Science, 101(4), 3702–3713.

Zhao, L., Li, X., Wang, H., Zhang, Y., Chen, S., Liu, J., & Xu, C. (2024). Genome-wide association study of insertions and deletions for milk production traits in Holstein cattle. Animals, 14(24), 3556.

Published

2026-08-22

How to Cite

Dangar, N. S., Pandya, G. M., & Vataliya, P. H. (2026). Comparison of Machine Learning Algorithms for Prediction of Lifetime Milk Yield in Gir Cattle (Bos indicus). Indian Journal of Veterinary Sciences and Biotechnology, 22(5), 146-153. https://doi.org/10.48165/ijvsbt.22.5.27