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 comentarios

I have tried this code before but it doesn't use kNN algorithom to build tree

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Preguntada:

el 11 de Nov. de 2020

Comentada:

el 11 de Nov. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by