USING RANDOM FOREST TO PREDICT CATTLE WEIGHT

Angga Pramadjaya, Anjar Setiawan

Abstract


The global cattle sector is essential for food provision, livelihood support, economic benefits, land restoration, and energy generation. Precise assessment of cow weight is crucial for farmers to track animal growth, while for traders, ascertaining the exact weight of cattle is imperative for establishing the price of the meat they acquire. This paper introduces an innovative method for predicting cattle weight via the random forest regression technique. This study employs a dataset consisting of thirteen variables: live weight, age, withers height, sacrum height, chest depth, chest width, clock width, hip joint width, slant body length, slant back length, chest circumference, metacarpal thickness, and half of the dorsal surface thickness. The findings indicate that the random forest regression technique produced the most precise predictions of cattle weight, with a mean absolute error (MAE) of 21.902 kg, a mean absolute percentage error (MAPE) of 4.201%, a root mean square error (RMSE) of 29.433 kg, and an R² value of 0.761. The findings underscore the model's efficacy in accurately predicting cattle weight, offering significant insights for agricultural management and commercial trading sectors.

Keywords


Cattle; Machine Learning; Random Forest; Predict Models; Cattle Weight.

Full Text:

PDF

References


V. A. M. Weber et al., “Cattle weight estimation using active contour models and regression trees Bagging,” Computers and Electronics in Agriculture, vol. 179, p. 105804, Dec. 2020, doi: 10.1016/j.compag.2020.105804.

G. A. Miller, J. J. Hyslop, D. Barclay, A. J. Edwards, W. Thomson, and C.-A. Duthie, “Using 3D imaging and machine learning to predict liveweight and carcass characteristics of live finishing beef cattle,” Frontiers in Sustainable Food Systems, vol. 3, May 2019, doi: 10.3389/fsufs.2019.00030.

A. Ruchay, V. Kober, K. Dorofeev, В. И. Колпаков, and С. А. Мирошников, “Accurate body measurement of live cattle using three depth cameras and non-rigid 3-D shape recovery,” Computers and Electronics in Agriculture, vol. 179, p. 105821, Dec. 2020, doi: 10.1016/j.compag.2020.105821.

D. A. Sant’Ana et al., “Weighing live sheep using computer vision techniques and regression machine learning,” Machine Learning With Applications, vol. 5, p. 100076, Sep. 2021, doi: 10.1016/j.mlwa.2021.100076.

A. Ibrahim, W. T. Artama, I. G. S. Budisatria, R. Yuniawan, B. A. Atmoko, and R. Widayanti, “Regression model analysis for prediction of body weight from body measurements in female Batur sheep of Banjarnegara District, Indonesia,” Biodiversitas, vol. 22, no. 7, Jun. 2021, doi: 10.13057/biodiv/d220721.

M. Gjergji et al., “Deep Learning Techniques for Beef Cattle Body Weight Prediction,” In 2020 International Joint Conference on Neural Networks (IJCNN), Jul. 2020, doi: 10.1109/ijcnn48605.2020.9207624.

J. Wełeszczuk, B. Kosińska-Selbi, and P. Cholewińska, “Prediction of Polish Holstein’s economical index and calving interval using ma-chine learning,” Livestock Science, vol. 264, p. 105039, Oct. 2022, doi: 10.1016/j.livsci.2022.105039.

Z. E. Huma and F. Iqbal, “Predicting the body weight of Balochi sheep using a machine learning approach,” Turkish Journal of Veterinary & Animal Sciences, vol. 43, no. 4, pp. 500–506, Aug. 2019, doi: 10.3906/vet-1812-23.

A. Ruchay et al., “A comparative study of machine learning methods for predicting live weight of Duroc, Landrace, and Yorkshire pigs,” Animals, vol. 12, no. 9, p. 1152, Apr. 2022, doi: 10.3390/ani12091152.

Y. Cang, H. He, and Y. Qiao, “An intelligent pig weights estimate method based on deep learning in sow stall environments,” IEEE Ac-cess, vol. 7, pp. 164867–164875, Jan. 2019, doi: 10.1109/access.2019.2953099.

A. Ruchay, V. Kober, K. Dorofeev, В. И. Колпаков, A. Gladkov, and H. Guo, “Live weight prediction of cattle based on deep regression of RGB-D images,” Agriculture, vol. 12, no. 11, p. 1794, Oct. 2022, doi: 10.3390/agriculture12111794.

T. Hastie, R. Tibshirani, and J. H. Friedman, The elements of statistical learning. 2009. doi: 10.1007/978-0-387-84858-7.

Y. Qiao et al., “Intelligent perception for cattle monitoring: A review for cattle identification, body condition score evaluation, and weight estimation,” Computers and Electronics in Agriculture, vol. 185, p. 106143, Jun. 2021, doi: 10.1016/j.compag.2021.106143.

A. Cominotte et al., “Automated computer vision system to predict body weight and average daily gain in beef cattle during growing and finishing phases,” Livestock Science, vol. 232, p. 103904, Feb. 2020, doi: 10.1016/j.livsci.2019.103904.

D. A. B. Oliveira, L. G. R. Pereira, T. Bresolin, R. Ferreira, and J. R. R. Dórea, “A review of deep learning algorithms for computer vision systems in livestock,” Livestock Science, vol. 253, p. 104700, Nov. 2021, doi: 10.1016/j.livsci.2021.104700.

J. Han, C. Gondro, K. N. Reid, and J. P. Steibel, “Heuristic hyperparameter optimization of deep learning models for genomic prediction,” G3: Genes, Genomes, Genetics, vol. 11, no. 7, Feb. 2021, doi: 10.1093/g3journal/jkab032.

S. Bhardwaj, A. Tarafdar, M. Baghel, T. Dutt, and G. K. Gaur, “Determining Point of Economic Cattle Milk Production through Machine Learning and Evolutionary Algorithm for Enhancing Food Security,” Journal of Food Quality, vol. 2023, pp. 1–9, Feb. 2023, doi: 10.1155/2023/7568139.

C. S. Vui, G. K. Soon, C. K. On, R. Alfred, and P. Anthony, “A review of stock market prediction with Artificial neural network (ANN),” In 2013 IEEE International Conference on Control System, Computing and Engineering, Nov. 2013, doi: 10.1109/iccsce.2013.6720012.

R. E. Uhrig, ‘‘Introduction to artificial neural networks,’’ Proceedings of IECON '95 - 21st Annual Conference on IEEE Industrial Elec-tronics, Orlando, FL, USA, 1995, pp. 33-37 vol.1, doi: 10.1109/IECON.1995.483329.

J. Zupan, “Introduction to Artificial Neural Network (ANN) Methods: What They Are and How to Use Them*.,” Acta Chimica Slovenica, Jan. 1994, [Online]. Available: https://www2.ccc.uni-erlangen.de/publications/ANN-book/publications/ACS-41-94.pdf

Herman et al., “Comparison of Artificial Neural Network and Gaussian Naïve Bayes in Recognit ion of Hand-Writ ing Number,” Proc. - 2nd East Indones. Conf. Comput. Inf. Technol. Internet Things Ind. EIConCIT 2018, no. 1, pp. 276–279, 2018, doi: 10.1109/EIConCIT.2018.8878651.

X. Song, E. A. M. Bokkers, S. Van Mourik, P. W. G. G. Koerkamp, and P. P. J. Van Der Tol, “Automated body condition scoring of dairy cows using 3-dimensional feature extraction from multiple body regions,” Journal of Dairy Science, vol. 102, no. 5, pp. 4294–4308, May 2019, doi: 10.3168/jds.2018-15238.

N. A. Setiawan, N. E. Utami, and N. D. Ariatmanto, “Cattle weight estimation using linear regression and random forest regressor,” Jurnal RESTI (Rekayasa Sistem Dan Teknologi Informasi), vol. 8, no. 1, pp. 72–79, Feb. 2024, doi: 10.29207/resti.v8i1.5494.

A. Setiawan, E. Utami, and D. Ariatmanto, "Cattle body weight prediction using regression machine learning," Jurnal Teknik Informatika (Jutif), vol. 5, no. 2, pp. 509-518, 2024.




DOI: https://doi.org/10.29100/jipi.v10i4.6743

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

JIPI (Jurnal Ilmiah Penelitian dan Pembelajaran Informatika)
ISSN 2540-8984
Published by
Prodi Pendidikan Teknologi Informasi
Universitas Bhinneka PGRI

Website :https://jurnal.stkippgritulungagung.ac.id/index.php/jipi/index
Email: jipistkippti@gmail.com


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.