Body Weight Prediction in Karayaka Lambs Using Morphometric Measurements: A Comparison of Regression and Machine Learning Approaches
Simple Summary
Abstract
1. Introduction
2. Materials and Methods
2.1. Animal Material and Body Measurements
2.2. Statistical Analyses
2.3. Principal Component Analysis and Multiple Linear Regression
2.4. Machine Learning Algorithms and the Evaluation of Model Performance
2.5. Explainable Artificial Intelligence Analysis (SHAP)
3. Results
3.1. Descriptive Statistics and the Effect of the Gender Factor
3.2. Results of Correlation Analysis and Principal Component Analysis
3.3. Multiple Linear Regression Analysis
3.4. Comparison of Machine Learning Models
3.5. Variable Importance and SHAP Analyses
4. Discussion
5. Conclusions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Adeyinka, I.A.; Mohammed, I.D. Relationship of Body weight and linear body measurement in two breeds of goat of northern Nigeria. J. Anim. Vet. Adv. 2006, 5, 891–893. [Google Scholar] [CrossRef]
- Younas, U.; Abdullah, M.; Bhatti, J.A.; Pasha, T.N.; Ahmad, N.; Nasir, M.; Hussain, A. Inter-relationship of body weight with linear body measurements in Hissardale sheep. J. Anim. Plant Sci. 2013, 23, 20–24. [Google Scholar]
- Sowande, O.S.; Sobola, O.S. Body measurements of West African dwarf sheep as parameters for estimation of Body weight. Trop. Anim. Health Prod. 2008, 40, 433–439. [Google Scholar] [PubMed]
- Deribe, B.; Beyene, D.; Dagne, K.; Getachew, T.; Gizaw, S. Predicting body weight of three Ethiopian thin-tailed sheep breeds from linear body measurements. J. Nat. Sci. Res. 2018, 8, 25–39. [Google Scholar]
- Yakubu, A. Path coefficient and path analysis of body weight and biometric traits in Yankasa lambs. Slovak J. Anim. Sci. 2010, 43, 17–25. [Google Scholar] [CrossRef]
- Sun, M.A.; Hossain, M.A.; Islam, T.; Rahman, M.M.; Hossain, M.M.; Hashem, M.A. Different body measurement and body weight prediction of Jamuna basin sheep in Bangladesh. SAARC J. Agric. 2020, 18, 183–196. [Google Scholar] [CrossRef]
- Canaza-Cayo, A.W.; Churata-Huacani, R.; Çakmakçı, C.; Rodríguez-Huanca, F.H.; de Sousa Bueno Filho, J.S.; Fernandes, T.J.; De La Cruz, Y.C.R. Use of machine learning approaches for body weight prediction in Peruvian Corriedale sheep. Smart Agric. Technol. 2024, 7, 100419. [Google Scholar] [CrossRef]
- Megersa, A.G.; Negash, F.; Hailu, A.; Melak, A.; Assefa, A.; Aseged, T.; Sinkie, S. Prediction of body weight in indigenous sheep using random forest regression, support vector regression, and classification and regression trees algorithms. Vet. Anim. Sci. 2025, 30, 100517. [Google Scholar] [CrossRef] [PubMed]
- Salako, A.E. Principal component factor analysis of the morphostructure of immature Uda sheep. Int. J. Morphol. 2006, 24, 571–574. [Google Scholar] [CrossRef]
- Yakubu, A.; Salako, A.E.; Imumorin, I.G. Comparative multivariate analysis of biometric traits in sheep. Ital. J. Anim. Sci. 2011, 10, e17. [Google Scholar] [CrossRef]
- Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
- Friedman, J.H. Greedy function approximation: A gradient boosting machine. Ann. Stat. 2001, 29, 1189–1232. [Google Scholar] [CrossRef]
- Hamadani, A.; Ganai, N.A.; Mudasir, S.; Shanaz, S.; Alam, S.; Hussain, I. Comparison of artificial intelligence algorithms and their ranking for the prediction of genetic merit in sheep. Sci. Rep. 2022, 12, 18726. [Google Scholar] [CrossRef] [PubMed]
- Delgado, M.Á.G.; Tırınk, C.; Parra-Cortés, R.I.; Martínez, I.V.; Gomez-Vazquez, A.; Cruz-Hernandez, A.; Chay-Canul, A.J. Application of XGBoost and Random Forest algorithms for body weight prediction in Blackbelly sheep using biometric measurements. BMC Vet. Res. 2026, 22, 218. [Google Scholar] [CrossRef] [PubMed]
- Molnar, C. Interpretable Machine Learning, 2nd ed.; Lulu Press: Raleigh, NC, USA, 2022. [Google Scholar]
- Lundberg, S.M.; Lee, S.I. A unified approach to interpreting model predictions. In Advances in Neural Information Processing Systems; Curran Associates, Inc.: Red Hook, NY, USA, 2017; Volume 30, pp. 4765–4774. [Google Scholar]
- Akçapınar, H. Koyun Yetiştiriciliği; İsmat Matbaacılık: Ankara, Türkiye, 2000. [Google Scholar]
- Tahtali, Y.; Cankaya, S.; Ulutas, Z. Canonical correlation analysis for estimation of relationships between some traits measured at birth and weaning time in Karayaka lambs. Kafkas Univ. Vet. Fak. Derg. 2012, 18, 849–854. [Google Scholar]
- Kenyon, P.R.; Maloney, S.K.; Blache, D. Review of sheep body condition score in relation to production characteristics. N. Z. J. Agric. Res. 2014, 57, 38–64. [Google Scholar] [CrossRef]
- Montgomery, D.C.; Peck, E.A.; Vining, G.G. Introduction to Linear Regression Analysis, 6th ed.; Wiley: Hoboken, NJ, USA, 2021. [Google Scholar]
- Mukaka, M.M. A guide to appropriate use of correlation coefficient in medical research. Malawi Med. J. 2012, 24, 69–71. [Google Scholar] [PubMed]
- Jolliffe, I.T. Principal Component Analysis, 2nd ed.; Springer: New York, NY, USA, 2002. [Google Scholar]
- Jolliffe, I.T.; Cadima, J. Principal component analysis: A review and recent developments. Philos. Trans. R. Soc. A 2016, 374, 20150202. [Google Scholar] [CrossRef]
- Kaiser, H.F. The application of electronic computers to factor analysis. Educ. Psychol. Meas. 1960, 20, 141–151. [Google Scholar] [CrossRef]
- Kutner, M.H.; Nachtsheim, C.J.; Neter, J.; Li, W. Applied Linear Statistical Models, 5th ed.; McGraw-Hill: New York, NY, USA, 2005. [Google Scholar]
- O’Brien, R.M. A caution regarding rules of thumb for variance inflation factors. Qual. Quant. 2007, 41, 673–690. [Google Scholar] [CrossRef]
- Hoerl, A.E.; Kennard, R.W. Ridge regression: Biased estimation for nonorthogonal problems. Technometrics 1970, 12, 55–67. [Google Scholar] [CrossRef]
- Tibshirani, R. Regression shrinkage and selection via the LASSO. J. R. Stat. Soc. Ser. B 1996, 58, 267–288. [Google Scholar] [CrossRef]
- Hastie, T.; Tibshirani, R.; Friedman, J. The Elements of Statistical Learning, 2nd ed.; Springer: New York, NY, USA, 2021. [Google Scholar]
- Natekin, A.; Knoll, A. Gradient boosting machines, a tutorial. Front. Neurorobot. 2013, 7, 21. [Google Scholar] [CrossRef] [PubMed]
- Willmott, C.J.; Matsuura, K. Advantages of the mean absolute error (MAE) over the root mean square error (RMSE) in assessing average model performance. Clim. Res. 2005, 30, 79–82. [Google Scholar] [CrossRef]
- Atta, M.; El Khidir, O.A. Use of heart girth, wither height and scapuloischial length for prediction of liveweight of Nilotic sheep. Small Rumin. Res. 2004, 55, 233–237. [Google Scholar] [CrossRef]
- Harini, K.S.; Punyakumari, B.; Vinoo, R.; Babu, D.S.; Bharathi, G. Morphometric characterization, productive and reproductive performance of Nellore Palla sheep under field conditions. Indian J. Small Rumin. 2019, 25, 156–160. [Google Scholar] [CrossRef]
- Kumar, S.; Dahiya, S.P.; Ratwan, P.; Pundir, R.K. Prediction of body weight from linear body measurements in sheep. Indian J. Anim. Res. 2017, 51, 421–426. [Google Scholar]
- Birteeb, P.T.; Peters, S.O.; Yakubu, A.; Adeleke, M.A.; Ozoje, M.O. Multivariate characterization of the phenotypic traits of Djallonke and Sahel sheep in Northern Ghana. Trop. Anim. Health Prod. 2012, 44, 267–274. [Google Scholar] [CrossRef]
- Akbar, M.A.; Khan, M.A.; Faraz, A.; Waheed, A.; Tariq, M.M. Multivariate characterization of body measurements in sheep using principal component analysis. Small Rumin. Res. 2021, 198, 106344. [Google Scholar]
- Mavule, B.S.; Muchenje, V.; Bezuidenhout, C.C.; Kunene, N.W. Morphological structure of Zulu sheep based on principal component analysis. Small Rumin. Res. 2013, 111, 23–30. [Google Scholar] [CrossRef]
- Djaout, A.; El-Bouyahiaoui, R.; Belkheir, B.; Moulla, F.; Mansouri, H.; Benidir, M. Prediction of the body weight of Algerian Tazegzawt sheep breed from body measurements. Iraqi J. Agric. Sci. 2022, 53, 1138–1144. [Google Scholar] [CrossRef]
- Morel, P.C.H.; Kenyon, P.R.; Morris, S.T.; Stafford, K.J. The relationship between body condition score and productive performance in sheep. Anim. Prod. Sci. 2016, 56, 147–154. [Google Scholar]
- Eroğlu, M.; Turgut, A.O.; Küçük, M.; Önen, M.F. Predicting weaning weight of Romanov lambs from biometric measurements before weaning age using machine learning algorithms. Vet. Med. Sci. 2025, 11, e70420. [Google Scholar] [CrossRef] [PubMed]





| Variable | Female (Mean ± SE) | Male (Mean ± SE) | Min–Max | CV (%) | p-Value |
|---|---|---|---|---|---|
| BW | 28.49 ± 0.24 | 30.49 ± 0.38 | 24.59–40.50 | 10.03 | <0.001 |
| HG | 73.90 ± 0.36 | 75.09 ± 0.37 | 65.69–83.45 | 4.33 | 0.022 |
| AG | 75.12 ± 0.40 | 76.74 ± 0.46 | 65.15–88.81 | 5.01 | 0.008 |
| DBL | 48.29 ± 0.22 | 49.01 ± 0.24 | 42.62–53.02 | 4.09 | 0.025 |
| BL | 44.56 ± 0.17 | 45.20 ± 0.17 | 41.20–48.63 | 3.35 | 0.008 |
| WH | 61.23 ± 0.25 | 62.01 ± 0.25 | 55.84–67.96 | 3.57 | 0.03 |
| RH | 62.16 ± 0.25 | 63.10 ± 0.27 | 56.75–69.11 | 3.66 | 0.012 |
| HW | 13.79 ± 0.08 | 14.21 ± 0.08 | 12.19–15.96 | 5.27 | <0.001 |
| CW | 7.28 ± 0.04 | 7.42 ± 0.04 | 6.15–8.07 | 4.48 | 0.007 |
| BCS | 3.20 ± 0.03 | 3.40 ± 0.03 | 2.58–4.01 | 8.28 | <0.001 |
| Variable | BW | HG | AG | DBL | BL | WH | RH | HW | CW | BCS |
|---|---|---|---|---|---|---|---|---|---|---|
| BW | 1 | |||||||||
| HG | 0.794 | 1 | ||||||||
| AG | 0.796 | 0.921 | 1 | |||||||
| DBL | 0.544 | 0.731 | 0.635 | 1 | ||||||
| BL | 0.47 | 0.602 | 0.566 | 0.684 | 1 | |||||
| WH | 0.703 | 0.843 | 0.767 | 0.714 | 0.583 | 1 | ||||
| RH | 0.68 | 0.784 | 0.728 | 0.645 | 0.554 | 0.947 | 1 | |||
| HW | 0.682 | 0.73 | 0.728 | 0.553 | 0.559 | 0.694 | 0.667 | 1 | ||
| CW | 0.601 | 0.767 | 0.729 | 0.718 | 0.558 | 0.725 | 0.711 | 0.687 | 1 | |
| BCS | 0.541 | 0.523 | 0.532 | 0.417 | 0.288 | 0.518 | 0.512 | 0.499 | 0.529 | 1 |
| Trait/Component | PC1 | PC2 | PC3 |
|---|---|---|---|
| Eigenvalue | 6.305 | 0.778 | 0.523 |
| Variance explained (%) | 69.583 | 8.582 | 5.774 |
| Cumulative variance (%) | 69.583 | 78.165 | 83.939 |
| HG | 0.372 | 0.01 | −0.197 |
| AG | 0.356 | 0.089 | −0.197 |
| DBL | 0.326 | −0.344 | 0.333 |
| BL | 0.286 | −0.587 | 0.442 |
| WH | 0.366 | 0.018 | −0.331 |
| RH | 0.353 | 0.059 | −0.373 |
| HW | 0.327 | 0.089 | −0.074 |
| CW | 0.344 | 0.022 | 0.109 |
| BCS | 0.25 | 0.719 | 0.592 |
| Variable | Regression Coefficient (β) | SE | t-Value | p-Value | VIF |
|---|---|---|---|---|---|
| Intercept | −25.405 | 3.945 | −6.44 | <0.001 | — |
| AG | 0.4 | 0.064 | 6.241 | <0.001 | 7.377 |
| WH | 0.194 | 0.105 | 1.842 | 0.068 | 14.228 |
| HW | 0.597 | 0.293 | 2.037 | 0.044 | 2.664 |
| BCS | 1.277 | 0.623 | 2.049 | 0.042 | 1.559 |
| Statistic | Value | ||||
| R2 | 0.677 | ||||
| Adjusted R2 | 0.668 | ||||
| F-statistic | 75.86 | ||||
| p-value (model) | <0.001 | ||||
| Model | Train R2 | Test R2 | RMSE (kg) | MAE (kg) |
|---|---|---|---|---|
| Gradient Boosting | 0.962 | 0.862 | 1.32 | 1.034 |
| Random Forest | 0.97 | 0.828 | 1.476 | 1.087 |
| LASSO Regression | 0.668 | 0.736 | 1.827 | 1.364 |
| Linear Regression | 0.669 | 0.736 | 1.828 | 1.366 |
| Ridge Regression | 0.668 | 0.736 | 1.829 | 1.358 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Bayyurt, L. Body Weight Prediction in Karayaka Lambs Using Morphometric Measurements: A Comparison of Regression and Machine Learning Approaches. Animals 2026, 16, 2288. https://doi.org/10.3390/ani16152288
Bayyurt L. Body Weight Prediction in Karayaka Lambs Using Morphometric Measurements: A Comparison of Regression and Machine Learning Approaches. Animals. 2026; 16(15):2288. https://doi.org/10.3390/ani16152288
Chicago/Turabian StyleBayyurt, Lütfi. 2026. "Body Weight Prediction in Karayaka Lambs Using Morphometric Measurements: A Comparison of Regression and Machine Learning Approaches" Animals 16, no. 15: 2288. https://doi.org/10.3390/ani16152288
APA StyleBayyurt, L. (2026). Body Weight Prediction in Karayaka Lambs Using Morphometric Measurements: A Comparison of Regression and Machine Learning Approaches. Animals, 16(15), 2288. https://doi.org/10.3390/ani16152288

