Performance comparison of algorithms in the classification of fresh fruit types based on MQ array sensor data

Accurate classification of fresh fruit types is essential in the agricultural sector for ensuring quality control, minimizing waste, and enhancing food safety across the supply chain. This study evaluates the performance of four machine learning algorithms—artificial neural network (ANN), K-nearest neighbors (KNN), logistic regression (LR), and random forest (RF)—in classifying fruit freshness based on data obtained from electronic noses equipped with MQ array sensors. Experiments were conducted using a comprehensive dataset comprising various fruit combinations, and model performance was assessed using accuracy, precision, recall, and F1 score metrics. Results indicate that the RF algorithm achieved the highest accuracy (100%) and precision (1.00), demonstrating superior performance in both classification accuracy and computational efficiency. ANN and KNN also performed well, with accuracies of 96.80% and 97.10%, respectively, while LR yielded a lower but still effective accuracy of 91.16%. Statistical analysis confirms that RF's superior performance is statistically significant when compared to the other algorithms. These findings suggest that RF is the most effective algorithm for fruit freshness classification using electronic nose data, offering fast and reliable results that are well-suited for integration into real-time monitoring systems in agricultural and food retail applications.

Authors

Institutions

Publication Details

Journal
Bulletin of Electrical Engineering and Informatics
Published
2025-08-01
DOI
https://doi.org/10.11591/eei.v14i4.9070
Citations
1
Primary Topic
Advanced Chemical Sensor Technologies
Type
article
Field-Weighted Citation Impact
0.67
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Performance comparison of algorithms in the classification of fresh fruit types based on MQ array sensor data

Bayu Hananto, Ridwan Raafi’udin
1 citations
Bulletin of Electrical Engineering and Informatics
Advanced Chemical Sensor Technologies
0.67
article

Performance comparison of algorithms in the classification of fresh fruit types based on MQ array sensor data

Bayu Hananto, Ridwan Raafi’udin
article en
1 citations

Abstract

Accurate classification of fresh fruit types is essential in the agricultural sector for ensuring quality control, minimizing waste, and enhancing food safety across the supply chain. This study evaluates the performance of four machine learning algorithms—artificial neural network (ANN), K-nearest neighbors (KNN), logistic regression (LR), and random forest (RF)—in classifying fruit freshness based on data obtained from electronic noses equipped with MQ array sensors. Experiments were conducted using a comprehensive dataset comprising various fruit combinations, and model performance was assessed using accuracy, precision, recall, and F1 score metrics. Results indicate that the RF algorithm achieved the highest accuracy (100%) and precision (1.00), demonstrating superior performance in both classification accuracy and computational efficiency. ANN and KNN also performed well, with accuracies of 96.80% and 97.10%, respectively, while LR yielded a lower but still effective accuracy of 91.16%. Statistical analysis confirms that RF's superior performance is statistically significant when compared to the other algorithms. These findings suggest that RF is the most effective algorithm for fruit freshness classification using electronic nose data, offering fast and reliable results that are well-suited for integration into real-time monitoring systems in agricultural and food retail applications.

Bulletin of Electrical Engineering and InformaticsVol. 14(4)
Universitas Pembangunan Nasional Veteran Jakarta (ID)
Openalex Percentile: Top 28%
Advanced Chemical Sensor Technologies
0.67
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.

Performance comparison of algorithms in the classification of fresh fruit types based on MQ array sensor data — Bayu Hananto, Ridwan Raafi’udin · Bulletin of Electrical Engineering and Informatics (2025) | TGRS Research Map | TGRS