Plot k-D tree using the k-nearest neighbour algorithm

I want to make a plot which will contain some nodes according to a given dataset having X-axis and Y-axis. The plot will build a k-D tree using the k-nearest neighbor algorithm and will show the direction line of subsequent nearest points from a specific given coordinate point suppose (50,50). How can I do that?
My Dataset contains node number, X-Axis, Y-Axis, Distance and its a .csv file.

2 件のコメント

Rafael Hernandez-Walls
Rafael Hernandez-Walls 2020 年 11 月 11 日
Obonee Kushum
Obonee Kushum 2020 年 11 月 11 日
I have tried this code before but it doesn't use kNN algorithom to build tree

サインインしてコメントする。

回答 (0 件)

タグ

質問済み:

2020 年 11 月 11 日

コメント済み:

2020 年 11 月 11 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by