Exploring the Application of K-means Machine Learning Algorithm in Fruit Classification

Fruits are very popular in people's lives because they contain vitamins and dietary fiber, making them an important source of human diet. According to fruit production statistics, global fruit production reaches millions of metric tons, so it is necessary for people to establish an advanced fruit recognition system. However, traditional methods, including physical inspect, are inefficient, labor-intensive, and have a high probability of errors. Based on these facts, developing more efficient classification algorithms is worth exploring, as they can help people classify fruits quickly and effectively. This paper describes an experiment using K-means machine learning algorithm in Python, aiming to classify different types of fruits using image datasets containing various types of fruit images. The K-means algorithm will cluster the fruit image data input from three apple images and three banana images samples as an efficient clustering algorithm. The conclusion that the success rate for apple is 33.3% and the same rate for banana is 66.7% can get from the experiment. Nevertheless, this does not mean K-means will classify banana better than apple absolutely, since many other factors like the fruit color ,image pixel, the unique feature of randomly assigning labels to clusters in the k-means algorithm can also lead to the success or failure of the experiments.

Authors

Institutions

Publication Details

Journal
Transactions on Computer Science and Intelligent Systems Research
Published
2024-08-12
DOI
https://doi.org/10.62051/gr86br34
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Exploring the Application of K-means Machine Learning Algorithm in Fruit Classification

Weidan Chen
Transactions on Computer Science and Intelligent Systems Research
Smart Agriculture and AI
article

Exploring the Application of K-means Machine Learning Algorithm in Fruit Classification

Weidan Chen
article en

Abstract

Fruits are very popular in people's lives because they contain vitamins and dietary fiber, making them an important source of human diet. According to fruit production statistics, global fruit production reaches millions of metric tons, so it is necessary for people to establish an advanced fruit recognition system. However, traditional methods, including physical inspect, are inefficient, labor-intensive, and have a high probability of errors. Based on these facts, developing more efficient classification algorithms is worth exploring, as they can help people classify fruits quickly and effectively. This paper describes an experiment using K-means machine learning algorithm in Python, aiming to classify different types of fruits using image datasets containing various types of fruit images. The K-means algorithm will cluster the fruit image data input from three apple images and three banana images samples as an efficient clustering algorithm. The conclusion that the success rate for apple is 33.3% and the same rate for banana is 66.7% can get from the experiment. Nevertheless, this does not mean K-means will classify banana better than apple absolutely, since many other factors like the fruit color ,image pixel, the unique feature of randomly assigning labels to clusters in the k-means algorithm can also lead to the success or failure of the experiments.

Transactions on Computer Science and Intelligent Systems ResearchVol. 5
Monash University (AU)
Decent work and economic growth
Openalex Percentile: Top 93%
Smart Agriculture and AI
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.

Exploring the Application of K-means Machine Learning Algorithm in Fruit Classification — Weidan Chen · Transactions on Computer Science and Intelligent Systems Research (2024) | TGRS Research Map | TGRS