Comparative Evaluation of Machine Learning Algorithms for Predicting Body Weight from Linear Body Measurements in Zambian Indigenous Chickens
Jinghua Zhao, Simushi Liswaniso, Prudence Shibe Mokgapa, Salome Mhlabini, Thobela Louis Tyasi
Key points
From the paper's conclusion- We compared six algorithms (CART, ANN, KNN, Random Forest, SVR, and Gradient Boosting) to determine which best predicted body weight from eight linear body measurements.
Abstract
Machine learning has not been widely applied to Zambian indigenous chickens, which account for most of the poultry kept by smallholder farmers in the country. We compared six algorithms (CART, ANN, KNN, Random Forest, SVR, and Gradient Boosting) to determine which best predicted body weight from eight linear body measurements. 618 chickens were phenotyped in accordance with FAO (2012) guidelines, with body weight recorded on a digital scale and linear measurements taken with a tailor’s tape. The data were split 80:20 into training (n = 496) and test (n = 122) sets, tuned via repeated 10-fold cross-validation (5 repeats), and performance on the test set was assessed using six goodness-of-fit criteria. Random Forest was the most accurate according to the numerical metrics (R2 = 0.816, RMSE = 0.204 kg), followed by Gradient Boosting (R2 = 0.789) and SVR (R2 = 0.766). A paired Wilcoxon test showed that Random Forest was significantly better than all other algorithms, including Gradient Boosting (adjusted p < 0.001). Generalization was assessed by comparing the cross-validated RMSE to the test RMSE. All six algorithms had test-to-CV ratios between 0.90 and 1.22. The pruned CART tree generalised best, and ANN had the largest gap despite having the lowest test accuracy. Chest circumference had the highest correlation with body weight (r = 0.696) and ranked first in permutation importance for all six algorithms (no exceptions). A single chest circumference measurement in a linear regression accounted for 45.4% of the variance and thus provides a useful field estimate where scales are not available. The full models, particularly Random Forest, were substantially more accurate and are recommended for predicting body weight in Zambian indigenous chickens. Chest circumference is the key practical trait for selection and management programs.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Application of XGBoost and Random Forest algorithms for body weight prediction in Blackbelly sheep using biometric measurementsBMC Veterinary Research · 2026
- Comparison of data mining algorithms and regression method for prediction of live body weight using biometric traits of non-descript indigenous chickens.Tropical animal health and production · 2026
- Predicting body weight of male Kuroiler chickens from linear body measurements using MARS and CART data-mining algorithms.Archives animal breeding · 2025
- Enhancing duck body weight prediction with tree-based machine learning algorithms: integrating morphometric and categorical predictorsThe Journal of Applied Poultry Research · 2026
- Prediction of body weight in indigenous sheep using random forest regression, support vector regression, and classification and regression trees algorithmsVeterinary and Animal Science · 2025
- Body Weight Prediction in Karayaka Lambs Using Morphometric Measurements: A Comparison of Regression and Machine Learning Approaches.Animals : an open access journal from MDPI · 2026