Asian Journal of Dairy and Food Research

Asian Journal of Dairy and Food Research cover
Volume 44 · Issue 5 · 2025/08/16

Choosing the Best Machine Learning Model for Weight Estimation at Different Growth Stages in Bali Cattle

Anak Agung Oka
Ni Putu Sarini
Putu Veri Swastika
Komang Dharmawan
340 Views

Submitted

2025/05/13

First Online

2025/08/16

doi

10.18805/ajdfr.DRF-554

Cite article - Anak Agung Oka, Ni Putu Sarini, Putu Veri Swastika, Komang Dharmawan. (2025). Choosing the Best Machine Learning Model for Weight Estimation at Different Growth Stages in Bali Cattle. Asian Journal of Dairy and Food Research. 44(5): 831–837. doi: 10.18805/ajdfr.DRF-554

Abstract

Background: Accurate weight estimation is essential for effective livestock management. Bali cattle, a vital component of Indonesia’s agricultural economy. Traditional weighing methods pose practical challenges, thus requiring adoption of machine learning (ML) techniques.

Methods: This study compares five ML models-linear regression (LR), random forest regression (RFR), support vector regression (SVR), neural network regression (NNR) and polynomial regression (PR) - to determine the most accurate approach for predicting Bali cattle weight across different age groups. The research was conducted at a livestock breeding center in Bali, where morphological features such as body height, body length and heart girth were collected and used as predictors. Results indicate that polynomial regression consistently outperformed other models for middle-aged cattle (366-728 days), while random forest regression performed best for younger (240-365 days) and older (729+days) cattle. SVR and NNR struggled to generalize due to the characteristics of the dataset.

Result: The study highlights the importance of age-specific modeling for precise weight prediction, offering valuable insights into precision livestock management. Future research should explore deep learning or hybrid approaches to improve predictive accuracy for mature cattle.

References

  1. Awasthi, T., Morshed, A. and Swain, D. (2024). A machine learning approach to simulate growth of cattle at pasture using remotely collected walk-over weights. SSRN Electronic Journal . https://doi.org/10.2139/ssrn.4805155. Awasthi, T.R., Morshed, A. and Swain, D. (2023). A comparative study of machine learning methods: A case study of weight and growth of livestock. 2023 IEEE Engineering Informatics . 1-7. https://doi.org/10.1109/IEEECONF58110.2023. 10520498. Banik, S., Naskar, S., Barman, K., Das, P.J., Kumar, S. and Rajkhowa, S. (2021). Nonlinear prediction models for estimation of pre-weaning body weight of pigs using morphometric traits. Indian Journal of Animal Research . 55(11): 1383- 1386. http://dx.doi.org/10.18805/IJAR.B-4174 . Budianto, D., Widi, T.S.M., Panjono, P., Budisatria, I.G.S. and Hartatik, T. (2022). Estimation of body weight using linear body measurements in two crossbred beef cattle. https:// doi.org/10.2991/absr.k.220207.070. Cano, G., Blanco, M., Casasús, I., Cortés-Lacruz, X. and Villalba, D. (2016). Comparison of B-splines and non-linear functions to describe growth patterns and predict mature weight of female beef cattle. Animal Production Science . 56(11): 1787. https://doi.org/10.1071/AN15089. Cavalcante, D.H., Sousa Júnior, S.C., Silva, L.P., Malhado, C.H.M., Martins Filho, R., Azevêdo, D.M.M.R. and Campelo, J.E.G. (2020). Fitting of fixed regression curves with different residual variance structures for Nellore cattle growth modeling. Semina: Ciências Agrárias . 41(2): 545-558. https://doi.org/10.5433/1679-0359.2020v41n2p545. Djeghar A.E., Ridouh R., Boukerrou M., Chaabi A.Z., Evin A., Tekkouk- zemmouchi F. et al . (2025). Morphometric study of local Algerian cattle breeds and prediction of carcass weight from linear body measurements: Case of Setifien and Guelmoise breeds. Asian Journal of Dairy and Food Research. 44(3). https://doi.org/10.18805/ajdfr.DRF-440 . Goopy, J.P., Pelster, D.E., Onyango, A., Marshall, K. and Lukuyu, M. (2018). Simple and robust algorithms to estimate liveweight in African smallholder cattle. Animal Production Science . 58(9): 1758. https://doi.org/10.1071/AN16577. Haldar, A., Pal, P., Ghosh, S. and Pan, S. (2023). Body weight prediction using recursive partitioning and regression trees (RPART) model in Indian black Bengal goat breed: A machine learning approach. Indian Journal of Animal Research . 57(9): 1251-1257. http://dx.doi.org/10.18805/IJAR.B-4894 . Hamadani, A., Ganai, N.A., Alam, S., Mudasir, S., Raja, T.A., Hussain, I. and Ahmad, H.A. (2024). Artificial intelligence techniques for the prediction of body weights in sheep. Indian Journal of Animal Research . 58(5): 884-889. http://dx.doi.org/ 10.18805/IJAR.B-4831 . Haq, M.S., Budisatria, I.G.S., Panjono, P. and Maharani, D. (2020). Prediction of live body weight using body measurements for Jawa Brebes (Jabres) Cattle. Journal of Animal and Plant Sciences . 30(3): 552-559. https://doi.org/10.36899/ JAPS.2020.3.0065. Hassen, A., Wilson, D.E. and Rouse, G.H. (1999). Evaluation of carcass, live and real-time ultrasound measures in feedlot cattle: II. Effects of different age end points on the accuracy of predicting the percentage of retail product, retail product weight and hot carcass weight. Journal of Animal Science . 77(2): 283. https://doi.org/10.2527/1999.772283x. Karakus, F. (2025). Estimation of marketing live weight of lambs by different machine learning algorithms. Indian Journal of Animal Research . 59(1). doi. 10.18805/IJAR.BF-1855 . Li, J., Li, Q., Ma, W., Xue, X., Zhao, C., Tulpan, D. and Yang, S.X. (2022). Key region extraction and body dimension measurement of beef cattle using 3D point clouds. Agriculture . 12(7): 1012. https://doi.org/10.3390/agriculture12071012. Martojo, H. (2012). Indigenous bali cattle is most suitable for sustainable small farming in Indonesia. Reproduction in Domestic Animals . 47(s1): 10-14. https://doi.org/10.1111/ j. 1439-0531.2011.01958.x. Ruchay, A.N., Kolpakov, V.I., Kalschikov, V.V, Dzhulamanov, K.M. and Dorofeev, K.A. (2021). Predicting the body weight of Hereford cows using machine learning. IOP Conference Series: Earth and Environmental Science . 624(1): 012056. https://doi.org/10.1088/1755-1315/624/1/012056. Sarini, N.P. and Dharmawan, K. (2023). Estimation of bali cattle body weight based on morphological measurements by machine learning algorithms: Random forest, support vector, K-neighbors and extra tree regression. Journal of Advanced Zoology . 44(3): 1-9. https://doi.org/10.17762/ jaz. v44i3.234. Segerkvist, K.A., Höglund, J., Österlund, H., Wik, C., Högberg, N. and Hessle, A. (2020). Automatic weighing as an animal health monitoring tool on pasture. Livestock Science . 240: 104157. https://doi.org/10.1016/j.livsci.2020.104157. Setiawan, A. and Utami, E. (2024). Predicting the weight of livestock using machine learning. 2024 IEEE International Conference on Artificial Intelligence and Mechatronics Systems (AIMS) . 1-6. https://doi.org/10.1109/AIMS61812. 2024.10512610. Sultana, N., Khan, M.K.I. and Momin, M.M. (2022). Nonlinear models for the prediction of yearly live weight of cattle. Asian Journal of Dairy and Food Research . 41(2): 168-172. http://x.doi.org/10.18805/ajdfr.DRF-257 . Tırınk, C., Önder, H., Francois, D., Marcon, D., Şen, U., Shaikenova, K., Omarova, K. and Tyasi, T.L. (2023). Comparison of the data mining and machine learning algorithms for predicting the final body weight for the Romane sheep breed. PLOS ONE . 18(8): e0289348. https://doi.org/10.1371/journal. pone.0289348. Wang, Z., Shadpour, S., Chan, E., Rotondo, V., Wood, K.M. and Tulpan, D. (2021). Applications of machine learning for livestock body weight prediction from digital images. Journal of Animal Science . 99(2): 1-15. https://doi.org/10.1093/jas/ skab022. Weber, V.A.M., Weber, F. de L., Oliveira, A. da S., Astolfi, G., Menezes, G.V., de Andrade Porto, J.V., Rezende, F.P.C., Moraes, P.H. de, Matsubara, E.T., Mateus, R.G., de Araújo, T.L.A.C., da Silva, L. O.C., de Queiroz, E.Q.A., de Abreu, U.G.P., da Costa Gomes, R. and Pistori, H. (2020). Cattle weight estimation using active contour models and regression trees, Bagging. Computers and Electronics in Agriculture . 179(September). https://doi.org/10.1016/j.compag.2020. 105804. Widyas, N., Prastowo, S., Widi, T.S.M. and Baliarti, E. (2018). Predicting Madura cattle growth curve using a non-linear model. IOP Conference Series: Earth and Environmental Science . 142: 012006. https://doi.org/10.1088/1755-1315/142/1/ 012006.
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
Harjinder Singh
Chief Editor

Harjinder Singh

DirectorMassey Institute of Food Science and Technology, NEW ZEALAND

Tanweer Alam
Associate chief editor

Tanweer Alam

DirectorIndian Institute of Packaging, Mumbai, Maharashtra, INDIA

Mridula Devi
Editor

Mridula Devi

DirectorICAR-Central Institute for Women in Agriculture, Bhubaneswar, Odisha, India

A. Elango
Editor

A. Elango

DeanVeterinary College and Research Institute, Salem, Tamil Nadu Veterinary and Animal Sciences University, T.N., INDIA