Prediction of Body Mass of Dairy Cattle Using Machine Learning Algorithms Applied to Morphological Characteristics
The accurate prediction of body mass (BM) in cattle is crucial for herd monitoring, assessing biological efficiency, and optimizing nutritional management. This study evaluated BM prediction models using morphological data from 465 lactating Holstein cows, including the dorsal length (DL), thoracic width (TW), abdominal width (AW), rump width (RW), hip height (HH), body depth (BD), thoracic perimeter (TP), and abdominal perimeter (AP). Spearman's correlation analysis identified TP (r = 0.89), AP (r = 0.88), and RW (r = 0.80) as the strongest predictors. Simple and multiple linear regression models, artificial neural networks (ANNs), and Support Vector Regression (SVR) were tested. The dataset was split into 90% for training (419 samples), 5% for validation (23 samples), and 5% for testing (23 samples). The best simple model, using only TP, achieved an R<sup>2</sup> of 0.7763 and an RMSE of 43.69 kg. A multiple regression model with TP, AP, and RW improved performance (R<sup>2</sup> = 0.9067, RMSE = 28.00 kg). The ANN outperformed all of the models (R<sup>2</sup> = 0.9125, RMSE = 25.86 kg), and was followed by SVR (R<sup>2</sup> = 0.9046, RMSE = 27.41 kg). As an indication of the evaluation of the results obtained, it is observed that, although regression models are effective, the ANNs and SVR provide greater accuracy, reinforcing their potential for herd management. However, simpler models remain viable alternatives for practical on-farm application.
Authors
- Matteo Barbari (ORCID: https://orcid.org/0000-0002-0760-8604)
- Giuseppe Rossi (ORCID: https://orcid.org/0000-0003-0211-9294)
- Gabriel Araújo e Silva Ferraz (ORCID: https://orcid.org/0000-0001-6403-2210)
- Marcos Neves Pereira (ORCID: https://orcid.org/0000-0002-9809-0395)
- Patrícia Ferreira Ponciano Ferraz (ORCID: https://orcid.org/0000-0002-9708-0259)
- Franck Morais de Oliveira (ORCID: https://orcid.org/0000-0002-6322-6424)
Institutions
- Universidade Federal de Lavras (BR)
- University of Florence (IT)
Publication Details
- Journal
- Animals
- Published
- 2025-04-05
- DOI
- https://doi.org/10.3390/ani15071054
- Citations
- 4
- Primary Topic
- Genetic and phenotypic traits in livestock
- Type
- article
- Field-Weighted Citation Impact
- 7.27
Funders
- Coordenação de Aperfeiçoamento de Pessoal de Nível Superior
- Conselho Nacional de Desenvolvimento Científico e Tecnológico
- Università degli Studi di Firenze
- Fundação de Amparo à Pesquisa do Estado de Minas Gerais
- Universidade Federal de Lavras