Study notes for Metric Trees
最编程
2024-07-25 07:04:37
...
- M-tree, vp-trees, cover trees, MVP Trees, and bk trees.
- (The Radial Metric, Spider Tree) Define by
- there are a collection of objects and a function for measuring the distance or similarity between two objects.
- the objects cannot be represented by vectors of feature values; otherwise multi-dimensional (spatial) search methods such as k-d tree or range tree should be used. Beside, spatial search methods use an Lp distance functions, which means there is no correlation between features.
- the similarity measure or function should satisfy the triangle inequality such that it is possible to use the result of each comparison to prune the set of candidates to be examined.
- range: given a query object q, and a maximum searching distance r, it selects all indexed objects o, such that d(q, o)<=r.
- k nearest neighbors (k-NN): given a query object q, and an integer k>=1, it selects the k indexed objects which have the shortest distance d(q, o).