Abdel-Fatah Karam, AbdelMoneim Helmy, Ammar Mohammed
{"title":"基于k -媒质聚类的KNN增强方法","authors":"Abdel-Fatah Karam, AbdelMoneim Helmy, Ammar Mohammed","doi":"10.1109/MIUCC55081.2022.9781724","DOIUrl":null,"url":null,"abstract":"K-nearest-neighbor (KNN) is one of the state-of-the-art machine learning algorithms used for classification and regression tasks. In addition to being simple to understand, KNN is also versatile, spanning various applications. Despite its simplicity, it is considered a lazy classifier that does not generate a trained model but stores or memorizes training examples instead. Consequently, the prediction process using KNN becomes costly in resources and time, especially when the dataset becomes large. Also, there is no general way to choose the best distance metric during the prediction. This paper proposes a new algorithm called K-nearest Medoid KNN (KMKNN) which improves the performance of KNN in terms of prediction performance and time efficiency without a major effect on its result accuracy. The core idea of the proposed KMKNN is to cluster the dataset before the prediction to limit the distance measures to those data instances that belong to the nearest cluster of the new data. KMKNN when compared to the traditional KNN and other similar extended versions of KNN, achieves a noticeable improvement on 15 benchmark datasets. The importance of this work is primarily in large datasets or when the distance measure used is computationally expensive, which is common in the computer vision and pattern recognition domains.","PeriodicalId":105666,"journal":{"name":"2022 2nd International Mobile, Intelligent, and Ubiquitous Computing Conference (MIUCC)","volume":"13 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-05-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"An approach to enhance KNN based on data clustering using K-medoid\",\"authors\":\"Abdel-Fatah Karam, AbdelMoneim Helmy, Ammar Mohammed\",\"doi\":\"10.1109/MIUCC55081.2022.9781724\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"K-nearest-neighbor (KNN) is one of the state-of-the-art machine learning algorithms used for classification and regression tasks. In addition to being simple to understand, KNN is also versatile, spanning various applications. Despite its simplicity, it is considered a lazy classifier that does not generate a trained model but stores or memorizes training examples instead. Consequently, the prediction process using KNN becomes costly in resources and time, especially when the dataset becomes large. Also, there is no general way to choose the best distance metric during the prediction. This paper proposes a new algorithm called K-nearest Medoid KNN (KMKNN) which improves the performance of KNN in terms of prediction performance and time efficiency without a major effect on its result accuracy. The core idea of the proposed KMKNN is to cluster the dataset before the prediction to limit the distance measures to those data instances that belong to the nearest cluster of the new data. KMKNN when compared to the traditional KNN and other similar extended versions of KNN, achieves a noticeable improvement on 15 benchmark datasets. The importance of this work is primarily in large datasets or when the distance measure used is computationally expensive, which is common in the computer vision and pattern recognition domains.\",\"PeriodicalId\":105666,\"journal\":{\"name\":\"2022 2nd International Mobile, Intelligent, and Ubiquitous Computing Conference (MIUCC)\",\"volume\":\"13 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-05-08\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 2nd International Mobile, Intelligent, and Ubiquitous Computing Conference (MIUCC)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/MIUCC55081.2022.9781724\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 2nd International Mobile, Intelligent, and Ubiquitous Computing Conference (MIUCC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/MIUCC55081.2022.9781724","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
摘要
k -最近邻(KNN)是用于分类和回归任务的最先进的机器学习算法之一。除了易于理解之外,KNN也是通用的,可以跨越各种应用程序。尽管它很简单,但它被认为是一个懒惰的分类器,它不生成训练模型,而是存储或记忆训练示例。因此,使用KNN的预测过程在资源和时间上都很昂贵,特别是当数据集变得很大时。此外,在预测过程中没有通用的方法来选择最佳距离度量。本文提出了一种新的k -最近邻中间数KNN (KMKNN)算法,在不影响结果精度的情况下,从预测性能和时间效率两方面提高了KNN算法的性能。提出的KMKNN的核心思想是在预测之前对数据集进行聚类,以限制距离度量属于新数据最近的聚类的数据实例。与传统的KNN和其他类似的KNN扩展版本相比,KMKNN在15个基准数据集上取得了显著的改进。这项工作的重要性主要是在大型数据集或当使用的距离测量在计算上昂贵时,这在计算机视觉和模式识别领域很常见。
An approach to enhance KNN based on data clustering using K-medoid
K-nearest-neighbor (KNN) is one of the state-of-the-art machine learning algorithms used for classification and regression tasks. In addition to being simple to understand, KNN is also versatile, spanning various applications. Despite its simplicity, it is considered a lazy classifier that does not generate a trained model but stores or memorizes training examples instead. Consequently, the prediction process using KNN becomes costly in resources and time, especially when the dataset becomes large. Also, there is no general way to choose the best distance metric during the prediction. This paper proposes a new algorithm called K-nearest Medoid KNN (KMKNN) which improves the performance of KNN in terms of prediction performance and time efficiency without a major effect on its result accuracy. The core idea of the proposed KMKNN is to cluster the dataset before the prediction to limit the distance measures to those data instances that belong to the nearest cluster of the new data. KMKNN when compared to the traditional KNN and other similar extended versions of KNN, achieves a noticeable improvement on 15 benchmark datasets. The importance of this work is primarily in large datasets or when the distance measure used is computationally expensive, which is common in the computer vision and pattern recognition domains.