A Comparative Study of Machine Learning Algorithms for Predicting Body Weight of Nile Tilapia (Oreochromis niloticus)
Year: 2026
Type: article
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.
Institution: Universidade Federal de Lavras
Language: English
Subfield: Aquatic Science
Domain: Life Sciences
Keywords: Oreochromis niloticus, body mass estimation, morphometric parameters, artificial neural networks, XGBoost, multivariate adaptive regression splines, support vector machine, random forest, classification and regression trees, multiple linear regression, Boruta feature selection, multicollinearity, fish farming
SDG: Zero hunger
Open Access status: diamond
OpenAlex ID: W7236071925
