Turkish Journal of Veterinary & Animal Sciences
Abstract
Estimating goat body weight from morphometric traits is essential for growth monitoring, health management, and welfare. Accurate weight informs nutrition, clinical interventions, and mating decisions. In this study, the MARS and XGBoost algorithms were used to estimate the live weight of Kalahari Red goats based on body measurements. A dataset containing body length (BL), birth type (single, twin, or triplet), withers height (WH), rump height (RH), and heart girth (HG) information for 200 goats was used in the training and testing of the models. The performances of the models were evaluated with the goodness-of-fit criteria. XGBoost showed a performance of R2 = 0.998, RMSE = 0.023, and MAPE = 0.039 in the training set and R2 = 0.974, RMSE = 0.669, and MAPE = 0.927 in the test set. In addition, MARS achieved R2 = 0.994, RMSE = 0.260, and MAPE = 0.447 in the training set and R2 = 0.968, RMSE = 0.595, and MAPE = 0.771 in the test set. These results demonstrate that, although the R2 values of XGBoost are higher than those of MARS, both algorithms were effective. XGBoost consistently yielded lower errors and slightly higher R2 in estimating the live weight of Kalahari Red goats based on body measurements.
Author ORCID Identifier
LOUIS TYASI: 0000-0002-3519-7806
CEM TIRINK: 0000-0001-6902-5837
KWENA MOKOENA: 0000-0003-0713-4573
HASAN ÖNDER: 0000-0002-8404-8700
UĞUR ŞEN: 0000-0001-6058-1140
DEMET ÇANGA BOĞA: 0000-0003-3319-7084
TOLGA TOLUN: 0000-0003-4081-1222
İSMAİL GÖK: 0000-0002-0759-1187
YÜKSEL AKSOY: 0000-0001-5709-937X
LÜTFİ BAYYURT: 0000-0003-2613-9302
ÖMER YILMAZ: 0000-0002-1411-7897
DOI
10.55730/1300-0128.4405
Keywords
XGBoost, MARS, Kalahari Red goat, body measurement, prediction
First Page
18
Last Page
25
Publisher
The Scientific and Technological Research Council of Türkiye (TÜBİTAK)
Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.
Recommended Citation
TYASI, L. T, TIRINK, C, MOKOENA, K, ÖNDER, H, ŞEN, U, ÇANGA BOĞA, D, TOLUN, T, GÖK, İ, AKSOY, Y, BAYYURT, L, & YILMAZ, Ö. F (2026). Comparison of the MARS and XGBoost algorithms for predicting body weight in Kalahari Red goats. Turkish Journal of Veterinary & Animal Sciences 50 (1): 18-25. https://doi.org/10.55730/1300-0128.4405