Nearest neighbor search is a very fundamental algorithm in statistics and machine learning. The goal is to find each a given or query point’s nearest neighbor from a reference dataset. The distance between points is often defined in terms of the Euclidean distance. In general any similarity can be used, but only if the similarity satisfies the triangular inequality or if it is a bregman divergence. We have fast algorithms for computing all nearest/farthest/range/k neighbors with metrics and bregman divergences and use them for classification.
In short:
Related articles:
NOTE: From 0.4.4 release the driver for nearest neighbor allkn will become deprecated Instead you can use mnneighbors : for nearest neighbors based on a metric mfneighbors : for further neighbors based on a metric mnnclassifier : for nearest neighbor classification based on metric neighbors bnneighbors : for nearest neighbors based on a bregman divergence bnnclassifier : for nearest neighbor classification based on bregman divergence
We would like to know your opinion about our product. Please send us bug reports and suggestions at support@analytics1305.com
If you didn't find an answer to your question, check the forum http://www.analytics1305.com/forum