1
所以,我正在實施一個KD-Tree做最近的鄰居搜索。我已經建立了樹的部分工作,但我不認爲我完全理解搜索部分。如何使用KDTrees實現最近鄰居搜索?
關於遍歷樹以搜索鄰居,維基百科的文章說以下內容:
Starting with the root node, the algorithm moves down the tree recursively, in the same
way that it would if the search point were being inserted (i.e. it goes right or left
depending on whether the point is greater or less than the current node in the split
dimension).
什麼是「比吐尺寸當前節點或大或小的意思是我們比較基礎的點?在距離查詢或我們比較點的分割尺寸?
此外,有人可以解釋關於超空間和超平面的部分嗎?我覺得我理解它,但因爲我不知道我想一些更多解釋。
謝謝!
我會得出類似的結論。謝謝! – efficiencyIsBliss 2010-11-04 18:05:35