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

Bayu Hananto, Ridwan Raafi'udin

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.

Keywords


Classification algorithm; Electronic nose; Fruit freshness; Machine learning; Sensor

Full Text:

PDF


DOI: https://doi.org/10.11591/eei.v14i4.9070

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Bulletin of EEI Stats

Bulletin of Electrical Engineering and Informatics (BEEI)
ISSN: 2089-3191e-ISSN: 2302-9285
This journal is published by the Institute of Advanced Engineering and Science (IAES) in collaboration with Intelektual Pustaka Media Utama (IPMU).