Watermelon Weight Prediction Using Metaheuristic Algorithm-Based Artificial Neural Networks

Traditional weight measurement methods need cutting or weighing of the fruit, and this is not practical for preharvest evaluation and market transactions. The suggested approach gives a practical solution for farmers and sellers by giving accurate weight predictions using only external characteristics. Modern technologies, especially artificial intelligence, data analytics and machine learning, are making big changes in the agricultural area. One of the machine learning models used in agriculture is Artificial Neural Networks (ANN). ANN became an important tool in analyzing agricultural data, predicting plant growth processes, finding diseases, determining the effects of environmental factors, reaching productivity goals and detecting weeds and harmful plants. A dataset is created by comprehensively examining 52 watermelons. The dataset includes acoustic properties, geometric measurements, and visual characteristics. The dataset is divided into 40 training samples and 12 test samples. Balanced representation is ensured by using stratified sampling when selecting test samples. The Min-Max normalization method is used for data preprocessing. Nine different training algorithms are comprehensively evaluated within the scope of the study. Eight critical parameters of the ANN models are optimized using four different optimization algorithms to increase the accuracy rate and avoid overfitting. Artificial Bee Colony (ABC), Artificial Fish Swarm Algorithm (AFSA), Whale Optimization Algorithm (WOA) and Grey Wolf Optimizer (GWO) are used as optimization methods. Assessed by five-fold cross-validation, the best configuration (One Step Secant with WOA) achieved a mean absolute error of 0.92 ± 0.28 kg and an RMSE of 1.23 ± 0.37 kg, corresponding to about 10% of the mean fruit weight. Developing a real-time mobile application using the optimized best model will provide practicality in large-scale agricultural enterprises, controlled environments such as greenhouses, and agricultural markets.

Authors

Institutions

Publication Details

Journal
Applied Sciences
Published
2026-09-15
DOI
https://doi.org/10.3390/app16189168
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

Watermelon Weight Prediction Using Metaheuristic Algorithm-Based Artificial Neural Networks

Şahin Yıldırım, Mehmet Safa Bingöl, Ahmet Kırnap
Applied Sciences
Smart Agriculture and AI
article

Watermelon Weight Prediction Using Metaheuristic Algorithm-Based Artificial Neural Networks

Şahin Yıldırım, Mehmet Safa Bingöl, Ahmet Kırnap
article en

Abstract

Traditional weight measurement methods need cutting or weighing of the fruit, and this is not practical for preharvest evaluation and market transactions. The suggested approach gives a practical solution for farmers and sellers by giving accurate weight predictions using only external characteristics. Modern technologies, especially artificial intelligence, data analytics and machine learning, are making big changes in the agricultural area. One of the machine learning models used in agriculture is Artificial Neural Networks (ANN). ANN became an important tool in analyzing agricultural data, predicting plant growth processes, finding diseases, determining the effects of environmental factors, reaching productivity goals and detecting weeds and harmful plants. A dataset is created by comprehensively examining 52 watermelons. The dataset includes acoustic properties, geometric measurements, and visual characteristics. The dataset is divided into 40 training samples and 12 test samples. Balanced representation is ensured by using stratified sampling when selecting test samples. The Min-Max normalization method is used for data preprocessing. Nine different training algorithms are comprehensively evaluated within the scope of the study. Eight critical parameters of the ANN models are optimized using four different optimization algorithms to increase the accuracy rate and avoid overfitting. Artificial Bee Colony (ABC), Artificial Fish Swarm Algorithm (AFSA), Whale Optimization Algorithm (WOA) and Grey Wolf Optimizer (GWO) are used as optimization methods. Assessed by five-fold cross-validation, the best configuration (One Step Secant with WOA) achieved a mean absolute error of 0.92 ± 0.28 kg and an RMSE of 1.23 ± 0.37 kg, corresponding to about 10% of the mean fruit weight. Developing a real-time mobile application using the optimized best model will provide practicality in large-scale agricultural enterprises, controlled environments such as greenhouses, and agricultural markets.

Applied SciencesVol. 16(18)
Niğde Ömer Halisdemir Üniversitesi (TR), Erciyes University (TR)
Zero hunger
Openalex Percentile: Top 13%
Smart Agriculture and AI
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.