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
- Şahin Yıldırım (ORCID: https://orcid.org/0000-0002-7149-3274)
- Mehmet Safa Bingöl
- Ahmet Kırnap (ORCID: https://orcid.org/0000-0002-7685-5297)
Institutions
- Niğde Ömer Halisdemir Üniversitesi (TR)
- Erciyes University (TR)
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