Ball tree
In computer science, a ball tree, balltree or metric tree, is a space partitioning data structure for organizing points in a multi-dimensional space. A ball tree partitions data points into a nested set of balls. The resulting data structure has characteristics that make it useful for a number of applications, most notably nearest neighbor search. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
In computer science, a ball tree, balltree or metric tree, is a space partitioning data structure for organizing points in a multi-dimensional space. A ball tree partitions data points into a nested set of balls. The resulting data structure has characteristics that make it useful for a number of applications, most notably nearest neighbor search. D^{B}(t) = \begin{cases} \max(|t - \textit{B.pivot}| - \textit{B.radius}, D^\textit{B.parent}), & \text{if }B \neq Root \\ \max(|t - \textit{B.pivot}| - \textit{B.radius}, 0), & \text{if }B = Root \\ \end{cases} Where D^{B}(t) is the minimum possible distance from any point in the ball to some point . Ball-trees are related to the M-tree, but only support binary splits, whereas in the M-tree each level splits m to 2m fold, thus leading to a shallower tree structure, therefore need fewer distance computations, which usually yields faster queries. Furthermore, M-trees can better be stored on disk, which is organized in pages. The M-tree also keeps the distances from the parent node precomputed to speed up queries. Vantage-point trees are also similar, but they binary split into one ball, and the remaining data, instead of using two balls. B.pivot := p B.child1 := construct_balltree(L), B.child2 := construct_balltree(R), let B.radius be maximum distance from p among children return B end if end function ==References==
Cite this
"Ball tree". 1786822335. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1369580746 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy