Machine learning algorithm approaches for predicting body weight in tuis Huacaya alpacas

The purpose of this study is to examine how machine learning (ML) techniques can predict the body weight of Huacaya alpacas ( Vicugna pacos ) based on body measurements. Eighteen body measurements (BM) and six different ML models were used. Body weight (BW) and BM: head length (HL), ear length (EL), head width (HW), interorbital distance (ID), head height (HH), neck length (NL), upper neck perimeter (UNP), lower neck perimeter (LNP), wither height (WH), back height (BH), rump height (RH), dorsal length (DL), distance between ischial tips (DBI), tail length (TL), Thoracic Perimeter (TP), Abdominal Perimeter (AP), anterior fore-shank perimeter (AFP) and hoof length (HoL), were collected from 153 10 month old Huacaya alpacas of both sexes, from the Quimsachata annex of the Instituto Nacional de Innovación Agraria in Puno Department, Peru. The machine learning algorithms used to estimate body weight were Artificial Neural Networks (ANN), eXtreme Gradient Boosting (XGBoost), Multivariate Adaptive Regression Splines (MARS), Support Vector Machines for Regression (SVM), Random Forest (RF) and Classification and Regression Trees (CART). The performance of the models was evaluated by the mean absolute percentage error (MAPE), mean absolute error (MAE), root mean square error (RMSE) and coefficient of determination (R 2 ). Predictors with a high correlation (r ≥ 0.75) were removed from the dataset. The remaining predictors were then processed through variable selection procedures using the Boruta algorithm. The results from the Boruta algorithm confirmed that HW, UNP, BH, DBI, TL, TP, AP and HoL are important predictors of alpaca weight. The ML models were then trained on those selected predictors. RF had the highest R 2 values and lowest values of MAE, RMSE, and MAPE. In conclusion, the RF algorithm can be recommended for accurately estimating BW from body measurements of Huacaya alpacas of both sexes.

Authors

Institutions

Publication Details

Journal
Smart Agricultural Technology
Published
2025-10-25
DOI
https://doi.org/10.1016/j.atech.2025.101565
Primary Topic
Meat and Animal Product Quality
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine learning algorithm approaches for predicting body weight in tuis Huacaya alpacas

Ali William Canaza-Cayo, Francisco Halley Rodríguez-Huanca, Roberto Carvalheiro, Cihan Çakmakçı et al.
Smart Agricultural Technology
Meat and Animal Product Quality
article

Machine learning algorithm approaches for predicting body weight in tuis Huacaya alpacas

Ali William Canaza-Cayo, Francisco Halley Rodríguez-Huanca, Roberto Carvalheiro, Cihan Çakmakçı, Trinidad Romero, Roxana Churata-Huacani, Maria Celeste Huanca-Ilaquijo, Yovana Bertha Yucra-Yucra
article en

Abstract

The purpose of this study is to examine how machine learning (ML) techniques can predict the body weight of Huacaya alpacas ( Vicugna pacos ) based on body measurements. Eighteen body measurements (BM) and six different ML models were used. Body weight (BW) and BM: head length (HL), ear length (EL), head width (HW), interorbital distance (ID), head height (HH), neck length (NL), upper neck perimeter (UNP), lower neck perimeter (LNP), wither height (WH), back height (BH), rump height (RH), dorsal length (DL), distance between ischial tips (DBI), tail length (TL), Thoracic Perimeter (TP), Abdominal Perimeter (AP), anterior fore-shank perimeter (AFP) and hoof length (HoL), were collected from 153 10 month old Huacaya alpacas of both sexes, from the Quimsachata annex of the Instituto Nacional de Innovación Agraria in Puno Department, Peru. The machine learning algorithms used to estimate body weight were Artificial Neural Networks (ANN), eXtreme Gradient Boosting (XGBoost), Multivariate Adaptive Regression Splines (MARS), Support Vector Machines for Regression (SVM), Random Forest (RF) and Classification and Regression Trees (CART). The performance of the models was evaluated by the mean absolute percentage error (MAPE), mean absolute error (MAE), root mean square error (RMSE) and coefficient of determination (R 2 ). Predictors with a high correlation (r ≥ 0.75) were removed from the dataset. The remaining predictors were then processed through variable selection procedures using the Boruta algorithm. The results from the Boruta algorithm confirmed that HW, UNP, BH, DBI, TL, TP, AP and HoL are important predictors of alpaca weight. The ML models were then trained on those selected predictors. RF had the highest R 2 values and lowest values of MAE, RMSE, and MAPE. In conclusion, the RF algorithm can be recommended for accurately estimating BW from body measurements of Huacaya alpacas of both sexes.

Smart Agricultural TechnologyVol. 12
Van Yüzüncü Yıl Üniversitesi (TR), Commonwealth Scientific and Industrial Research Organisation (AU), Universidade Federal de Lavras (BR), Universidad Nacional del Altiplano (PE)
Openalex Percentile: Top 64%
Meat and Animal Product Quality
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.