my output values for the sorted array is coming different than that in the video
K-nearest neighbour
how to debug this issue
Hey @shekhar8110, check your code line by line from here, https://github.com/coding-blocks-archives/machine-learning-online-2018/tree/master/5.%20K-Nearest%20Neighbours
Also ensure that you are using the same data as used in video, ‘xdata.csv’ and ‘ydata.csv’.
Hopet this resolved your doubt.
Plz mark the doubt as resolved in my doubts section. 
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.