A Comparative Study of Machine Learning Algorithms for Predicting Body Weight of Nile Tilapia (Oreochromis niloticus)

This study aimed to evaluate the predictive performance of six machine learning (ML) algorithms, compared with multiple linear regression (MLR) as a conventional benchmark, for body weight (BW) estimation in Nile tilapia ( Oreochromis niloticus ) based on morphometric measurements. Data on total length (TL), standard length (SL), body width (BWi), body depth (BD), head length (HL), and head depth (HD) were collected from 185 individuals at the Fish Farming Station of the Federal University of Lavras, Brazil, between July and September 2020. After removing highly correlated predictors (r ≥ 0.80) to mitigate multicollinearity, the Boruta algorithm confirmed TL, BWi, and HD as relevant predictors. Artificial Neural Networks (ANN), eXtreme Gradient Boosting (XGBoost), Multivariate Adaptive Regression Splines (MARS), Support Vector Machines (SVM), Random Forest (RF), Classification and Regression Trees (CART), and MLR were evaluated through leakage-controlled repeated nested cross-validation and on an independent testing dataset (n = 48), using R², RMSE, MAE, MAPE, and Bland–Altman agreement analysis. No single model consistently outperformed the others across validation strategies. Under repeated nested cross-validation, MLR achieved the best mean performance (R² = 0.889; RMSE = 28.64 g), closely followed by MARS (R²= 0.886) and ANN (R² = 0.883), whereas on the independent testing dataset ANN yielded the lowest errors (RMSE= 27.40 g; MAE = 20.94 g) and RF the highest R² (0.923). CART consistently showed the weakest performance. These findings indicate that BW in Nile tilapia can be estimated with good accuracy from a few morphometric traits, and that a simple linear model may perform comparably to more complex ML algorithms. This approach represents a practical, low-cost alternative to direct weighing, although its external validity should be confirmed in other populations and production systems.

Authors

Institutions

Publication Details

Journal
Journal of Animal Health and Production
Published
2026-11-18
DOI
https://doi.org/10.17582/journal.jahp/2027/15.1.198.212
Primary Topic
Fish Biology and Ecology Studies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

A Comparative Study of Machine Learning Algorithms for Predicting Body Weight of Nile Tilapia (Oreochromis niloticus)

Ali William Canaza-Cayo, Diana Carla Fernandes Oliveira, Ana Luiza de Souza Miranda, Rafael Antônio Borges et al.
4 links
Journal of Animal Health and Production
Fish Biology and Ecology Studies
article

A Comparative Study of Machine Learning Algorithms for Predicting Body Weight of Nile Tilapia (Oreochromis niloticus)

Ali William Canaza-Cayo, Diana Carla Fernandes Oliveira, Ana Luiza de Souza Miranda, Rafael Antônio Borges, Rilke Tadeu Fonseca de Freitas, Matheus Ribeiro Galuppo, Cihan Çakmakçı, Roxana Churata-Huacani
article en

Abstract

This study aimed to evaluate the predictive performance of six machine learning (ML) algorithms, compared with multiple linear regression (MLR) as a conventional benchmark, for body weight (BW) estimation in Nile tilapia ( Oreochromis niloticus ) based on morphometric measurements. Data on total length (TL), standard length (SL), body width (BWi), body depth (BD), head length (HL), and head depth (HD) were collected from 185 individuals at the Fish Farming Station of the Federal University of Lavras, Brazil, between July and September 2020. After removing highly correlated predictors (r ≥ 0.80) to mitigate multicollinearity, the Boruta algorithm confirmed TL, BWi, and HD as relevant predictors. Artificial Neural Networks (ANN), eXtreme Gradient Boosting (XGBoost), Multivariate Adaptive Regression Splines (MARS), Support Vector Machines (SVM), Random Forest (RF), Classification and Regression Trees (CART), and MLR were evaluated through leakage-controlled repeated nested cross-validation and on an independent testing dataset (n = 48), using R², RMSE, MAE, MAPE, and Bland–Altman agreement analysis. No single model consistently outperformed the others across validation strategies. Under repeated nested cross-validation, MLR achieved the best mean performance (R² = 0.889; RMSE = 28.64 g), closely followed by MARS (R²= 0.886) and ANN (R² = 0.883), whereas on the independent testing dataset ANN yielded the lowest errors (RMSE= 27.40 g; MAE = 20.94 g) and RF the highest R² (0.923). CART consistently showed the weakest performance. These findings indicate that BW in Nile tilapia can be estimated with good accuracy from a few morphometric traits, and that a simple linear model may perform comparably to more complex ML algorithms. This approach represents a practical, low-cost alternative to direct weighing, although its external validity should be confirmed in other populations and production systems.

Journal of Animal Health and ProductionVol. 15(1)
Universidade Federal de Lavras (BR)
Zero hunger
Fish Biology and Ecology Studies
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.

Laika access coming soon