Comparison of the MARS and XGBoost algorithms for predicting body weight in Kalahari Red goats

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.

Authors

Publication Details

Journal
TURKISH JOURNAL OF VETERINARY AND ANIMAL SCIENCES
Published
2026-02-25
DOI
https://doi.org/10.55730/1300-0128.4405
Primary Topic
Genetic and phenotypic traits in livestock
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Comparison of the MARS and XGBoost algorithms for predicting body weight in Kalahari Red goats

Ömer Faruk Yılmaz, Lütfi Bayyurt, Tolga Tolun, Hasan Önder et al.
TURKISH JOURNAL OF VETERINARY AND ANIMAL SCIENCES
Genetic and phenotypic traits in livestock
article

Comparison of the MARS and XGBoost algorithms for predicting body weight in Kalahari Red goats

Ömer Faruk Yılmaz, Lütfi Bayyurt, Tolga Tolun, Hasan Önder, Kwena Mokoena, Louis Thobela Tyasi, Cem Tirink, YÜKSEL AKSOY, DEMET ÇANGA BOĞA, UĞUR ŞEN, İSMAİL GÖK
article en

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.

TURKISH JOURNAL OF VETERINARY AND ANIMAL SCIENCESVol. 50(1)
Zero hunger
Openalex Percentile: Top 38%
Genetic and phenotypic traits in livestock
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Comparison of the MARS and XGBoost algorithms for predicting body weight in Kalahari Red goats — Ömer Faruk Yılmaz, Lütfi Bayyurt, et al. · TURKISH JOURNAL OF VETERINARY AND ANIMAL SCIENCES (2026) | TGRS Research Map | TGRS