Spring 2024
In other words: if the distance to the partition is larger than the distance to our closest neighbor, we know that none of the data points inside that partition can be closer.![]()
Fig: Partitioning the feature space.
![]()
Fig 2: The bounding of the distance between
and with KD-trees and Ball trees (here is drawn twice, once for each setting). The distance can be dissected into two components , where is the outside ball/box component and the component inside the ball/box. In both cases can be lower bounded by the distance to the wall, , or ball, , respectively i.e. .
Tree Construction:![]()
![]()
Fig: The partitioned feature space with corresponding KD-tree.
Which partitions can be pruned?![]()
Note: Steps 3 & 4 pick the direction with a large spread (![]()