arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1705.09407cs.LGstat.ML
收藏

一种有效的贝叶斯最近邻算法

An Efficient Algorithm for Bayesian Nearest Neighbours

UBS Securities LLC(瑞银证券有限责任公司);University College London(伦敦大学学院)

Giuseppe Nuti

摘要:

K-最近邻(k-NN)是一种流行的分类和回归算法,但其主要局限性之一是难以选择邻居的数量。我们提出了一种贝叶斯算法来计算后验概率分布k给定一个目标点内的数据集,有效地,而不使用马尔可夫链蒙特卡罗(MCMC)方法或模拟-旁边的指数族内的分布的精确解。其中心思想是,我们目标周围的数据点是由相同的概率分布产生的,向外延伸到适当的(尽管未知的)邻居数量。一旦数据被投影到选择的距离度量上,我们就可以将k的选择转化为变点检测问题,对此有一个有效的解决方案:当我们向目标移动时,我们递归地计算最后一个变点的概率,从而实际上计算出k上的后验概率分布。将这种方法应用于分类和回归UCI数据集,我们比较有利,最重要的是,通过消除模拟的需要,我们能够准确和快速地计算k的后验概率。例如,Ripley数据集的计算时间为几毫秒,而使用MCMC方法时为几小时。

英文摘要:

K-Nearest Neighbours (k-NN) is a popular classification and regression algorithm, yet one of its main limitations is the difficulty in choosing the number of neighbours. We present a Bayesian algorithm to compute the posterior probability distribution for k given a target point within a data-set, efficiently and without the use of Markov Chain Monte Carlo (MCMC) methods or simulation - alongside an exact solution for distributions within the exponential family. The central idea is that data points around our target are generated by the same probability distribution, extending outwards over the appropriate, though unknown, number of neighbours. Once the data is projected onto a distance metric of choice, we can transform the choice of k into a change-point detection problem, for which there is an efficient solution: we recursively compute the probability of the last change-point as we move towards our target, and thus de facto compute the posterior probability distribution over k. Applying this approach to both a classification and a regression UCI data-sets, we compare favourably and, most importantly, by removing the need for simulation, we are able to compute the posterior probability of k exactly and rapidly. As an example, the computational time for the Ripley data-set is a few milliseconds compared to a few hours when using a MCMC approach.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑