Comparison Of K-nearest Neighbor (KNN) And Linear Discriminant Analysis (LDA) Algorithms For Mature Ajwa Date Fruit Classification

R. Risna, F. Amanda, Shofwatul Uyun
{"title":"Comparison Of K-nearest Neighbor (KNN) And Linear Discriminant Analysis (LDA) Algorithms For Mature Ajwa Date Fruit Classification","authors":"R. Risna, F. Amanda, Shofwatul Uyun","doi":"10.35842/icostec.v2i1.29","DOIUrl":null,"url":null,"abstract":"Currently, many applications of artificial intelligence in various fields of life, especially in image data, require digital image processing. One example of the use of digital images often encountered is image processing of fruit ripeness. Dates are a fruit in great demand by the people of Indonesia, and one of the most popular dates is the Ajwa date. The author is interested in developing previous research regarding identifying the ripeness of Ajwa Dates, where previous research used RGB color image processing with the HIS method. Therefore, the authors want to apply a different method, namely the K-Nearest Neighbor (K-NN) method and Linear Discriminant Analysis (LDA), in classifying the ripeness of the Ajwa Dates by applying a statistical feature algorithm. This research aims to develop a classification model for the maturity level of Ajwa Dates. Furthermore, it is expected to provide better classification results than the previous algorithm. The test results using the KNN method can produce higher accuracy than the LDA, where the KNN method is obtained from the calculation of the Euclidean distance k = 1 100% and Manhattan with a value of k = 1 and k = 2 worth 100%, but the minimum accuracy value is 53.33 % is found at k = 9 in the Euclidean distance calculation, while the LDA accuracy value can reach 93.33%.","PeriodicalId":241682,"journal":{"name":"International Conference on Information Science and Technology Innovation (ICoSTEC)","volume":"27 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-03-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Conference on Information Science and Technology Innovation (ICoSTEC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.35842/icostec.v2i1.29","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Currently, many applications of artificial intelligence in various fields of life, especially in image data, require digital image processing. One example of the use of digital images often encountered is image processing of fruit ripeness. Dates are a fruit in great demand by the people of Indonesia, and one of the most popular dates is the Ajwa date. The author is interested in developing previous research regarding identifying the ripeness of Ajwa Dates, where previous research used RGB color image processing with the HIS method. Therefore, the authors want to apply a different method, namely the K-Nearest Neighbor (K-NN) method and Linear Discriminant Analysis (LDA), in classifying the ripeness of the Ajwa Dates by applying a statistical feature algorithm. This research aims to develop a classification model for the maturity level of Ajwa Dates. Furthermore, it is expected to provide better classification results than the previous algorithm. The test results using the KNN method can produce higher accuracy than the LDA, where the KNN method is obtained from the calculation of the Euclidean distance k = 1 100% and Manhattan with a value of k = 1 and k = 2 worth 100%, but the minimum accuracy value is 53.33 % is found at k = 9 in the Euclidean distance calculation, while the LDA accuracy value can reach 93.33%.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
k -最近邻(KNN)与线性判别分析(LDA)算法在Ajwa枣成熟果实分类中的比较
目前,人工智能在生活各个领域的许多应用,特别是在图像数据方面,都需要进行数字图像处理。经常遇到的使用数字图像的一个例子是水果成熟度的图像处理。枣子是印度尼西亚人民需求量很大的水果,其中最受欢迎的枣子之一是Ajwa枣。作者有兴趣发展以前关于鉴别Ajwa枣成熟度的研究,以前的研究使用了RGB彩色图像处理与HIS方法。因此,作者希望采用一种不同的方法,即k -最近邻(K-NN)方法和线性判别分析(LDA)方法,利用统计特征算法对Ajwa枣的成熟度进行分类。本研究的目的是建立一个Ajwa枣成熟度等级的分类模型。此外,它有望提供比以前的算法更好的分类结果。使用KNN方法的测试结果可以产生比LDA更高的精度,其中KNN方法是通过计算欧几里得距离k = 1 100%和曼哈顿k = 1和k = 2值为100%得到的,但在欧几里得距离计算中k = 9处发现最小精度值为53.33%,而LDA精度值可以达到93.33%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Transfer Learning for Feral Cat Classification Using Logistic Regression Comparison Of SGD, Rmsprop, and Adam Optimation In Animal Classification Using CNNs Predicting Children's Talent Based On Hobby Using C4.5 Algorithm And Random Forest Analysis of Machine Learning Algorithms in Predicting the Flood Status of Jakarta City Text Mining In Online Transportation User Sentiment Analysis On Social Media Twitter Using The Multinomial Naive Bayesian Classifier Method And K-nearest Neighbor Method
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1