Leveraging K-Nearest Neighbors for Enhanced Fruit Classification and Quality Assessment
Open Access
- 31 March 2024
- journal article
- research article
- Published by Yocto Brain in Indonesian Journal of Data and Science
- Vol. 5 (1) , 30-36
Abstract
This study investigates the application of the K-Nearest Neighbors (KNN) algorithm for fruit classification and quality assessment, aiming to enhance agricultural practices through machine learning. Employing a comprehensive dataset that encapsulates various fruit attributes such as size, weight, sweetness, crunchiness, juiciness, ripeness, acidity, and quality, the research leverages a 5-fold cross-validation method to ensure the reliability and generalizability of the KNN model's performance. The findings reveal that the KNN algorithm demonstrates high accuracy, precision, recall, and F1-Score across all metrics, indicating its efficacy in classifying fruits and predicting their quality accurately. These results not only validate the algorithm's potential in agricultural applications but also align with existing research on machine learning's capability to tackle complex classification problems. The study's discussions extend to the practical implications of implementing a KNN-based model in the agricultural sector, highlighting the possibility of revolutionizing quality control and inventory management processes. Moreover, the research contributes to the field by confirming the hypothesis regarding the effectiveness of KNN in agricultural settings and lays the foundation for future explorations that could integrate multiple machine learning techniques for enhanced outcomes. Recommendations for subsequent studies include expanding the dataset and exploring algorithmic synergies, aiming to further the advancements in agricultural technology and machine learning applications.Keywords
This publication has 19 references indexed in Scilit:
- A Data Pre-Processing Module for Improved-Accuracy Machine-Learning-based Micro-Single-Event-Latchup Detection2023
- Data Preparation and Pre-processing of Intrusion Detection Datasets using Machine Learning2023
- Predictive Analytics System for Stock Data: methodology, data pre-processing and case studies2023
- Machine Learning Approaches for Coastline Extraction from Sentinel-2 Images: K-Means and K-Nearest Neighbour Algorithms in Comparison2022
- K-nearest neighbor based computational intelligence and RSM predictive models for extraction of Cadmium from contaminated soilAin Shams Engineering Journal, 2022
- Performance comparison of different kernel functions in SVM for different k value in k-fold cross-validation2020
- Assessment of peri-urban wetland ecological degradation through importance-performance analysis (IPA): A study on Chatra Wetland, IndiaEcological Indicators, 2020
- Experimental study on ammonia/hydrogen/air combustion in spark ignition engine conditionsFuel, 2020
- Performance analysis of Chaotic Multi-Verse Harris Hawks Optimization: A case study on solving engineering problemsEngineering Applications of Artificial Intelligence, 2020
- Cross-validation of three Advanced Clinical Solutions performance validity tests: Examining combinations of measures to maximize classification of invalid performanceApplied Neuropsychology: Adult, 2019