Incorporating Connectivity in k-Nearest Neighbors Regression

M. Mahfouz
{"title":"Incorporating Connectivity in k-Nearest Neighbors Regression","authors":"M. Mahfouz","doi":"10.1109/IMSA58542.2023.10217502","DOIUrl":null,"url":null,"abstract":"The standard k-nearest neighbors’ approach to regression analysis encounters a number of problems when used on datasets with various density distributions. This paper proposes a kNNR-relative ensemble regressor based on connectivity. In each cross-validation round, the pipeline starts by clustering the input data using any partitioning algorithm. Then, a random sample of the edges is selected from each partition favoring the edges with small distances. After that, the selected edges are transformed into a dataset in which feature values represent the amount of increase or decrease in each dimension compared to the source node’s values and the label of each feature vector is the difference in the label of the source and the destination. Then a regressor is built for each cluster based on the output of the transformer. In order to predict a label for an unseen object, the nearest centroid is identified, and, k-nearest neighbors from the corresponding cluster are identified as the source nodes. Then, a vector representing the difference between the unseen object and each source node is computed and fed to the regressor model of the corresponding cluster, the output label is the predicted difference so it is added to the label of the source node. The diversity between the suggested decision model and the traditional kNN regressor, termed kNNR motivates us to include the kNNR in the suggested ensemble. The k-nearest neighbors of kNNR are also selected from the nearest cluster. The weighted average of the predicted labels offered by the base models serves as the final output label. The sample size, the number of neighbors to be used, and the number of clusters can all be fine-tuned via cross validation. The ensemble is evaluated, and the results showed that the ensemble achieved a significant increase in effectiveness compared to its base regressors and several related algorithms.","PeriodicalId":110239,"journal":{"name":"2023 Intelligent Methods, Systems, and Applications (IMSA)","volume":"75 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-07-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 Intelligent Methods, Systems, and Applications (IMSA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IMSA58542.2023.10217502","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The standard k-nearest neighbors’ approach to regression analysis encounters a number of problems when used on datasets with various density distributions. This paper proposes a kNNR-relative ensemble regressor based on connectivity. In each cross-validation round, the pipeline starts by clustering the input data using any partitioning algorithm. Then, a random sample of the edges is selected from each partition favoring the edges with small distances. After that, the selected edges are transformed into a dataset in which feature values represent the amount of increase or decrease in each dimension compared to the source node’s values and the label of each feature vector is the difference in the label of the source and the destination. Then a regressor is built for each cluster based on the output of the transformer. In order to predict a label for an unseen object, the nearest centroid is identified, and, k-nearest neighbors from the corresponding cluster are identified as the source nodes. Then, a vector representing the difference between the unseen object and each source node is computed and fed to the regressor model of the corresponding cluster, the output label is the predicted difference so it is added to the label of the source node. The diversity between the suggested decision model and the traditional kNN regressor, termed kNNR motivates us to include the kNNR in the suggested ensemble. The k-nearest neighbors of kNNR are also selected from the nearest cluster. The weighted average of the predicted labels offered by the base models serves as the final output label. The sample size, the number of neighbors to be used, and the number of clusters can all be fine-tuned via cross validation. The ensemble is evaluated, and the results showed that the ensemble achieved a significant increase in effectiveness compared to its base regressors and several related algorithms.
结合连通性的k近邻回归
标准的k近邻回归分析方法在处理具有不同密度分布的数据集时会遇到许多问题。本文提出了一种基于连通性的knnr相关集成回归量。在每个交叉验证轮中,管道首先使用任何分区算法对输入数据进行聚类。然后,从每个分区中随机抽取一个有利于距离较小的边的样本。然后,将选择的边转换成一个数据集,其中特征值表示每个维度相对于源节点的值的增减量,每个特征向量的标签是源节点和目标节点的标签之差。然后根据变压器的输出为每个簇建立一个回归量。为了预测未知物体的标签,识别出最近的质心,并从相应的集群中识别出k个最近的邻居作为源节点。然后,计算一个表示未见对象与每个源节点之间差异的向量,并将其输入到相应聚类的回归模型中,输出标签是预测的差异,因此将其添加到源节点的标签中。建议的决策模型和传统的kNN回归量(称为kNNR)之间的差异促使我们将kNNR包含在建议的集成中。从最近的聚类中选择kNNR的k个最近邻居。由基本模型提供的预测标签的加权平均值作为最终输出标签。样本大小、要使用的邻居数量和集群数量都可以通过交叉验证进行微调。对集成进行了评估,结果表明,与基本回归量和几种相关算法相比,集成的有效性显著提高。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书