打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
k-d tree
From Wikipedia, the free encyclopedia
(Redirected fromKd-tree)
Jump to:navigation,search
A 3-dimensional k-d tree. The first split (red) cuts the root cell (white) into two subcells, each of which is then split (green) into two subcells. Finally, each of those four is split (blue) into two subcells. Since there is no more splitting, the final eight are called leaf cells.
Incomputer science, a k-d tree (short for k-dimensionaltree) is aspace-partitioningdata structure for organizingpoints in a k-dimensionalspace. k-d trees are a useful data structure for several applications, such as searches involving a multidimensional search key (e.g.range searches andnearest neighbor searches). k-d trees are a special case ofbinary space partitioning trees.
Informal description
The k-d tree is abinary tree in which every node is a k-dimensional point. Every non-leaf node can be thought of as implicitly generating a splittinghyperplane that divides the space into two parts, known as subspaces. Points to the left of this hyperplane represent the left sub-tree of that node and points right of the hyperplane are represented by the right sub-tree. The hyperplane direction is chosen in the following way: every node in the tree is associated with one of the k-dimensions, with the hyperplane perpendicular to that dimension's axis. So, for example, if for a particular split the "x" axis is chosen, all points in the subtree with a smaller "x" value than the node will appear in the left subtree and all points with larger "x" value will be in the right sub tree. In such a case, the hyperplane would be set by the x-value of the point, and itsnormal would be the unit x-axis.[1]
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
SVM - Support Vector Machines(重点看: 参数选择)
KD Tree
Python手写决策树并应对过度拟合问题
决策树之CART算法
python – 张量流中两点云之间的倒角距离
英语数学词汇大全
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服