Classifying the safety and quality of tomatoes based on genetic algorithms integrated with Gray Wolf optimizer

Abstract In recent years, industries and nations have faced significant challenges in ensuring food safety and quality assessment. This study significantly enhances our understanding of food safety by providing a reliable method for classifying tomatoes as organic or non-organic. By accurately distinguishing between these categories, the research addresses a critical issue in the food industry: the assurance that consumers are receiving safe and high-quality products. It aims to establish an advanced platform that leverages Machine Learning algorithms to analyze Mass Spectrometry data, effectively classifying tomatoes as organic or non-organic. Using silica gel plates in conjunction with direct-infusion electrospray ionization mass spectrometry, we present a pioneering optimization model that fuses genetic algorithms (GA) with grey wolf optimization (GWO). By harnessing GA’s exploratory strengths alongside GWO’s exploitative features, our model significantly enhances both solution diversity and convergence efficiency in optimization tasks. This integration merges GA’s principles of natural selection with GWO’s socially inspired techniques, making it applicable across various fields, including engineering design, machine learning, and resource management. The dataset was divided into 80% training and 20% testing sets, with the testing data classified using a random forest algorithm, achieving an impressive 95% accuracy. The training data, classified with both random forest and the Grey Wolf Optimizer, reached 76% accuracy. Remarkably, when the Grey Wolf Optimizer was combined with the genetic algorithm for feature selection, accuracy increased to 99.9% and F1-Score 99%. These results demonstrate that our proposed model can effectively classify the safety and quality of tomatoes. The findings indicate that a tomato can be safe and nutritious while being labelled as non-organic, challenging common perceptions. This clarity empowers producers, retailers, and consumers to make informed choices based on safety and quality rather than solely on organic certification. Ultimately, the practical applications of this study can lead to improved food safety standards, better consumer trust, and more efficient supply chain practices that prioritize the health and safety of the public.

Authors

Institutions

Publication Details

Journal
Journal of Food Measurement & Characterization
Published
2025-10-28
DOI
https://doi.org/10.1007/s11694-025-03695-8
Primary Topic
Advanced Chemical Sensor Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Classifying the safety and quality of tomatoes based on genetic algorithms integrated with Gray Wolf optimizer

Mohamed K. Abdel-Fattah, Sara A. Shehab
Journal of Food Measurement & Characterization
Advanced Chemical Sensor Technologies
article

Classifying the safety and quality of tomatoes based on genetic algorithms integrated with Gray Wolf optimizer

Mohamed K. Abdel-Fattah, Sara A. Shehab
article en

Abstract

Abstract In recent years, industries and nations have faced significant challenges in ensuring food safety and quality assessment. This study significantly enhances our understanding of food safety by providing a reliable method for classifying tomatoes as organic or non-organic. By accurately distinguishing between these categories, the research addresses a critical issue in the food industry: the assurance that consumers are receiving safe and high-quality products. It aims to establish an advanced platform that leverages Machine Learning algorithms to analyze Mass Spectrometry data, effectively classifying tomatoes as organic or non-organic. Using silica gel plates in conjunction with direct-infusion electrospray ionization mass spectrometry, we present a pioneering optimization model that fuses genetic algorithms (GA) with grey wolf optimization (GWO). By harnessing GA’s exploratory strengths alongside GWO’s exploitative features, our model significantly enhances both solution diversity and convergence efficiency in optimization tasks. This integration merges GA’s principles of natural selection with GWO’s socially inspired techniques, making it applicable across various fields, including engineering design, machine learning, and resource management. The dataset was divided into 80% training and 20% testing sets, with the testing data classified using a random forest algorithm, achieving an impressive 95% accuracy. The training data, classified with both random forest and the Grey Wolf Optimizer, reached 76% accuracy. Remarkably, when the Grey Wolf Optimizer was combined with the genetic algorithm for feature selection, accuracy increased to 99.9% and F1-Score 99%. These results demonstrate that our proposed model can effectively classify the safety and quality of tomatoes. The findings indicate that a tomato can be safe and nutritious while being labelled as non-organic, challenging common perceptions. This clarity empowers producers, retailers, and consumers to make informed choices based on safety and quality rather than solely on organic certification. Ultimately, the practical applications of this study can lead to improved food safety standards, better consumer trust, and more efficient supply chain practices that prioritize the health and safety of the public.

Journal of Food Measurement & CharacterizationVol. 20(1)
University of Sadat City (EG)
Openalex Percentile: Top 70%
Advanced Chemical Sensor Technologies
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.