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

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

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

태그

질문:

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