Indian Journal of Animal Research

Indian Journal of Animal Research cover
Volume 60 · Issue 7 · 2026/06/08

Assessing the Production Potential and Lactation Dynamics of Karan Fries Cattle Utilizing Machine Learning based Predictive Modelling

Ishmeet Kumar
Ritik Kumar Singh
Dibyasha Kar
R.K. Deepikarani
Pooja Beniwal
Deepti Sinha
Gargi Ramola
Sabyasachi Mukherjee
210 Views

Submitted

2026/01/20

First Online

2026/06/08

doi

10.18805/IJAR.B-5763

Cite article - Ishmeet Kumar, Ritik Kumar Singh, Dibyasha Kar, R.K. Deepikarani, Pooja Beniwal, Deepti Sinha, Gargi Ramola, Sabyasachi Mukherjee. (2026). Assessing the Production Potential and Lactation Dynamics of Karan Fries Cattle Utilizing Machine Learning based Predictive Modelling. Indian Journal of Animal Research. 60(7): 1307–1317. doi: 10.18805/IJAR.B-5763

Abstract

Background: This study evaluates machine learning (ML) algorithms as a robust alternative to traditional linear models, which often overlook complex biological patterns for predicting lactation performance in Karan Fries (KF) cattle. Using phenotypic records from 473 lactating animals, the analysis focuses on predicting 305-day milk yield (305 DMY) and total milk yield (TMY). The population exhibited an average peak yield of 13.28±0.25 kg and a persistent average fat concentration of 4.14%.

Methods: This study was done by integrating Wood’s incomplete gamma function to model lactation curves, compressing longitudinal test-day data into mathematically significant parameters. These parameters, alongside fixed environmental factors, served as predictors for three models: Multiple linear regression (MLR), random forest (RF) and extreme gradient boosting (XGBoost).

Result: Results revealed that the RF model significantly outperformed both MLR and XGBoost. For 305DMY, RF achieved a high coefficient of determination (R 2 = 0.88) compared to the poor performance of the MLR baseline (R 2 = 0.21). A similar hierarchy persisted for TMY, where RF attained an R 2 of 0.87, effectively reducing the root mean square error (RMSE) by over 50% compared to MLR. The study concludes that integrating Wood’s parameters with ensemble-based ML models offers a transformative tool for dairy breeding by facilitating early selection and optimized herd management.

References

  1. Abdollahi-Arpanahi, R., Gianola, D. and Peñagaricano, F. (2020). Deep learning versus parametric and ensemble methods for genomic prediction of complex phenotypes. Genetics, Selection, Evolution: GSE . 52(1): 12. Adnan, M., Alarood, A.A.S., Uddin, M.I. and Rehman, I.U. (2022). Utilizing grid search cross-validation with adaptive boosting for augmenting performance of machine learning models. Peer J. Computer Science . 8: e803. Bauman, D.E. (2000). Regulation of Nutrient Partitioning During Lactation: Homeostasis and Homeorhesis Revisited. In Ruminant Physiology: Digestion, Metabolism, Growth and Reproduction. Wallingford UK: CABI. (pp. 311-328). Bauman, D.E. and Currie, W.B. (1980). Partitioning of nutrients during pregnancy and lactation: a review of mechanisms involving homeostasis and homeorhesis. Journal of Dairy Science . 63(9): 1514-1529. Bayer, P.E., Petereit, J., Danilevicz, M.F. anderson, R., Batley, J. and Edwards, D. (2021). The application of pangenomics and machine learning in genomic selection in plants. Plant Genome . 14(3). https://doi.org/10.1002/tpg2. 20112. Bhardwaj, S., Togla, O., Mumtaz, S., Yadav, N., Tiwari, J., Muansangi, L., Illa, S.K., Wani, Y.M., Mukherjee, S. and Mukherjee, A. (2023). Comparative assessment of the effective population size and linkage disequilibrium of Karan Fries cattle revealed viable population dynamics. Animal Bioscience . 37(5): 795-806. Bovo, M., Miki, A., Stefano, B., Daniele, T. and Patrizia, T. (2021). Random forest modelling of milk yield of dairy cows under heat stress conditions. Animals . 11(5): 1314. Breiman, L. (2001). Random forests. Machine Learning . 45(1): 5-32. Brito, L.F., Bédère, N., Douhard, F., Oliveira, H.R., Arnal, M., Peñagaricano, F. and Miglior, F. (2021). Genetic selection of high-yielding dairy cattle toward sustainable farming systems in a rapidly changing world. Animal . 15: 100292. Chafai, N., Hayah, I., Houaga, I. and Badaoui, B. (2023). A review of machine learning models applied to genomic prediction in animal breeding. Frontiers in Genetics. 14: 1150596. Chen, T. and Guestrin, C. (2016). XGBoost: A Scalable Tree Boosting System. Proceedings of the 22 nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. pp 785-794. Dash, S.K., Gupta, A.K., Avtar, S., Chakravarty, A.K., Mohanty, T.K., Panmei, A. and Pushp, R.S. (2016). Genetic analysis of first lactation production and fertility traits in Karan Fries cattle. Indian Journal of Animal Sciences . 86(10): 1159-1164. Dongre, V.B., Gandhi, R.S., Singh, A. and Ruhil, A.P. (2012). Comparative efficiency of artificial neural networks and multiple linear regression analysis for prediction of first lactation 305-day milk yield in Sahiwal cattle. Livestock Science . 147(1-3): 192-197. Graesboll, K., Kirkeby, C., Nielsen, S.S. and Christiansen, L.E. (2015). Danish holsteins favor bull offspring: Biased Milk production as a function of fetal sex and calving difficulty. Plos One . 10(4): e0124051. Grolemund, G. and Wickham, H. (2011). Dates and times made easy with lubridate. Journal of Statistical Software . 40(3): 1-25. Gurnani, M., Sethi, R.K. and Nagarcenkar, R. (1986). Development of Karan Fries cattle at NDRI, Karnal. Dairy Information Bulletin. 3(9): 1-2. Ilayaraja, I., Chitra, A., Vyas, J., Kumar, I., Muansangi, L., Singh, S.P., Gowane, G.R., Mukherjee, A. and Mukherjee, S. (2025). Improved genetic evaluation in Karan Fries cattle using multitrait single-step genomic best linear unbiased prediction method. Animal . 19(12): 101692. International Committee for Animal Recording. (2020). Procedure 2-Computing of Accumulated Lactation Yield (Version January 2020). International Committee for Animal Recording. (2023). Section 2- Guidelines for Dairy Cattle Milk Recording (Version June 2023). https://www.icar.org/Guidelines/02-Overview- Cattle-Milk-Recording.pdf. Khan, S.A., Shukla, A.K., Yadav, S.K. and Vishwakarma, G.K. (2025). Machine learning models for analysis and prediction of optimal egg production. Quality and Quantity. pp 1-21. Knight, C.H. and Wilde, C.J. (1993). Mammary cell changes during pregnancy and lactation. Livestock Production Science. 35(1-2): 3-19. Kokate, L.S., Singh, A., Banu, R., Gandhi, R.S., Chakravarty, A.K., Gupta, A.K. and Sachdeva, G.K. (2012). Sire evaluation based on predicted first lactation 305-day milk yield using monthly test day milk yield values of Karan Fries cattle. Indian Journal of Animal Sciences. 82(12): 1539. Kumar, I., Mukherjee, A., Gowane, G.R., Kamboj, M.L., Malhotra, R.K. and Mukherjee, S. (2025). Assessing the importance of linear type traits and their association with functional, production and reproduction traits in Karan Fries cattle through multi-trait bayesian method. Acta Agriculturae Scandinavica, Section A-Animal Science. 74(1): 1-12. Liaw, A. and Wiener, M. (2002). Classification and regression by random forest. R News . 2(3): 18-22. Meinert, T.R. and Norman, H.D. (1998). Merit of outliers for milk yield as indicators of accuracy of genetic evaluations of sires. Journal of Dairy Science . 81(11): 2951-2955. Moritz, S. and Bartz-Beielstein, T. (2017). Impute TS: Time series missing value imputation in R. The R Journal . 9: 207. Nayeri, S., Sargolzaei, M. and Tulpan, D. (2019). A review of traditional and machine learning methods applied to animal breeding. Animal Health Research Reviews . 20(1): 31-46. Rana, E., Gupta, A.K., Ruhil, A. P., Mall, S. and Ashokan, M. (2024). Evaluating peak milk yield as a predictor for first lactation 305-day milk yield in murrah buffaloes. Indian Journal of Animal Research. 60(5): 775-780. doi: 10.18805/IJAR.B-5311 . Sahoo, S.K., Singh, A., Ambhore, G.S., Dash, S.K. and Dubey, P.P. (2019). Comparative efficiency of different multiple linear regression prediction equations of first lactation 305- day milk yield for sire evaluation in Murrah buffaloes. Indian Journal of Animal Research. 53(10): 1287-1291. doi: 10.18805/ijar.B-3661 . Shmueli, G. and Koppius, O.R. (2011). Predictive analytics in information systems research. MIS Quarterly. 35: 55-572. Silverman, B.W. (2018). Density Estimation for Statistics and Data Analysis. Routledge. Singh, A., Singh, A., Singh, M., Gupta, A.K. and Dash, S.K. (2016). Estimation of genetic parameters of first lactation 305- day and monthly test-day milk yields in Karan Fries cattle. Indian Journal of Animal Sciences . 86(4): 436-440. Singh, M., Prakash, V., Dash, S., Dixit, S. and Gupta, A.K. (2021). Multiple linear regression analysis using monthly test day milk yield predicting the first lactation production performance for sire evaluation in murrah buffaloes. Indian Journal of Dairy Science . 74(1): 89-94. Streefland, G.J., Herrema, F. and Martini, M. (2023). A Gradient Boosting model to predict the milk production. Smart Agricultural Technology . 6: 100302. Tırınk, C., Piwczyński, D., Kolenda, M. and Önder, H. (2023). Estimation of body weight based on biometric measurements by using random forest regression, support vector regression and CART algorithms. Animals . 13(5): 798. Topuz, D. and Tekgöz, S. (2025). Hybrid ensemble model for lactation milk yield prediction of holstein cows. Kafkas Universitesi Veteriner Fakultesi Dergisi . 31(5): 603-611. Upadhyay, A., Chakravarty, A.K., Dash, S., Shivahre, P.R. and Gonge, D.S. (2024). Effect of Environmental factors on milk production traits and energy-corrected milk yield in Karan Fries cattle. International Journal of Bio-Resource and Stress Management . 15(11): 1-8. Vyas, J., Kumar, I., Chitra, A. et al . (2025). Longitudinal genomic and pedigree inbreeding metrics reveal inbreeding depression in milk quality traits of Sahiwal cattle maintained in organised herd. Nucleus . doi: 10.1007/s13237-025- 00611-9. Wickham, H. (2016). Data Analysis. In ggplot2: Elegant Graphics for Data Analysis. Cham: Springer international publishing. (pp. 189-201). Willmott, C.J. and Matsuura, K. (2005). Advantages of the mean absolute error (MAE) over the root mean square error (RMSE) in assessing average model performance. Climate Research. 30: 79-82. Wood, P.D.P. (1967). Algebraic model of the lactation curve in cattle. Nature . 216(5111): 164-165. Worku, D., Gowane, G.R., Kumar, R., Joshi, P., Gupta, I.D. and Verma, A. (2021). Estimation of genetic parameters for production and reproductive traits in indian Karan-Fries cattle using multi-trait Bayesian approach. Tropical Animal Health and Production. 53(3): 369. Yadav, A.K., Mukherjee, A., Mumtaz, S., Kumar, S. and Pathak, P. (2017). Effect of nongenetic factors on milk yield and milk constituents in Karan Fries cattle. Ruminant Science . pp 225.
EDITORIAL BOARD

Guided by Experienced Academic Leadership

Distinguished scholars and subject experts committed to editorial excellence, scientific integrity and rigorous peer review.

View Full Board
Yashpal Singh Malik
Chief Editor

Yashpal Singh Malik

Deputy Director General (Agricultural Education)Indian Council of Agricultural Research, Headquarters, New Delhi , India

L.D. Singla
Associate chief editor

L.D. Singla

Professor and HeadAbhilashi University, Chachyot, Himachal Pradesh, India

Vilas G. Atkare
Editor

Vilas G. Atkare

DeanDr. Panjabrao Deshmukh Krishi Vidyapeeth, Akola, Krishi Nagar, Maharashtra, India

S. Maya
Editor

S. Maya

Associate Dean and Professor & HeadKerala Veterinary and Animal Sciences University, Mannuthy, Thrissur, Kerala, India