Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Weight Trajectory Prediction in Precision Livestock Farming Using Machine Learning: A Comparative Approach

Author 1: Moad Hakem Author 2: Zakaria Boulouard Author 3: Mohamed Kissi
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 17, No. 3 · Published 2026

DOI: https://doi.org/10.14569/IJACSA.2026.0170333

Abstract

Accurate livestock body weight prediction is a key component of precision livestock farming, as it supports herd monitoring, production management, and planning in response to the increasing global demand for meat. Existing approaches for weight prediction include age-based regression models, growth trajectory modelling, average daily gain estimation, and methods relying on morphometric measurements or image-derived features. However, many of these approaches require frequent measurements or specialized data acquisition systems, which are often costly and difficult to deploy under practical farming conditions. This study presents a comparative evaluation of data-driven models for livestock body weight trajectory prediction under low-measurement conditions. A matrix factorization approach and four ensemble-based machine learning methods, namely XGBoost, LightGBM, CatBoost, and ExtraTrees, were evaluated using a dataset of Holstein cows. Model performance was assessed using standard regression metrics, including root mean squared error, mean absolute error, and mean absolute percentage error, with five-fold cross-validation employed to ensure robustness. The results show that ensemble learning methods consistently outperform matrix factorization techniques when only a limited number of weight measurements per animal are available. More specifically, XGBoost achieves the best predictive performance when only one historical measurement per animal is available, whereas ExtraTrees provides the most accurate predictions when two or three historical measurements are available. These findings demonstrate that accurate and cost-effective livestock weight prediction can be achieved from sparse routine body weight records, without relying on dense longitudinal sampling, image-based systems, or extensive morphometric measurements, thereby supporting the practical deployment of predictive tools in precision livestock farming systems.

Keywords

How to Cite this Article

Hakem, M., Boulouard, Z., & Kissi, M. (2026). Weight Trajectory Prediction in Precision Livestock Farming Using Machine Learning: A Comparative Approach. International Journal of Advanced Computer Science and Applications, 17(3). https://doi.org/10.14569/IJACSA.2026.0170333

Hakem, Moad, et al.. "Weight Trajectory Prediction in Precision Livestock Farming Using Machine Learning: A Comparative Approach." International Journal of Advanced Computer Science and Applications, vol. 17, no. 3, 2026, https://doi.org/10.14569/IJACSA.2026.0170333.

@article{Hakem2026,
  title     = {Weight Trajectory Prediction in Precision Livestock Farming Using Machine Learning: A Comparative Approach},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {17},
  number    = {3},
  year      = {2026},
  publisher = {The Science and Information Organization},
  author    = {Moad Hakem and Zakaria Boulouard and Mohamed Kissi},
  doi       = {10.14569/IJACSA.2026.0170333},
  url       = {https://doi.org/10.14569/IJACSA.2026.0170333}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.