I am trying to get my grade for last assignment of the C1 course but after spending more than a day trying to figure it out why this is happening I am not able to find it.
I think there is something wrong with test_nearest_neighbor function and test_approximate_knn.
I am getting the following error in the first one:
And to me it seems and ordering problem which I am not sure my solution has. As I believe I am sorting the arrays correctly. Is there any posibility to get some support from an instructor
The pattern looks pretty clear: your values are in the exact opposite order that is expected. Just looking at the evidence it suggests that you are not sorting the arrays correctly.